Browse Source

use absolute namespace for readability

pull/11/head
Andrew Dolgov 2 months ago
parent
commit
c521e26a19
  1. 1
      phpstan.neon
  2. 6
      plugins/af_readability/init.php

1
phpstan.neon

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

6
plugins/af_readability/init.php

@ -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