use absolute namespace for readability

master
Andrew Dolgov 2 years ago
parent d6bb77f452
commit c521e26a19
  1. 1
      phpstan.neon
  2. 6
      plugins/af_readability/init.php

@ -22,5 +22,6 @@ parameters:
- plugins.local/**/tests/*
- plugins/**/test/*
- plugins.local/**/test/*
- plugins.local/*/vendor/intervention/*
paths:
- .

@ -1,8 +1,8 @@
<?php
require "vendor/autoload.php";
require_once __DIR__ . "/vendor/autoload.php";
use andreskrey\Readability\Readability;
use andreskrey\Readability\Configuration;
use \andreskrey\Readability\Readability;
use \andreskrey\Readability\Configuration;
class Af_Readability extends Plugin {

Loading…
Cancel
Save