Skip to content

Commit

Permalink
Fix PSR-0 PEAR_Error autoload for phpstan (#15)
Browse files Browse the repository at this point in the history
* Revert "add PEAR/Error.php dummy file"

This reverts commit f1864ea.

* Fix PSR-0 PEAR_Error autoload for phpstan

* fix README
  • Loading branch information
mvorisek authored Jan 15, 2024
1 parent a86fc14 commit e656be4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 22 deletions.
5 changes: 0 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,5 @@ Included files
==============
- ``OS/Guess.php``
- ``PEAR.php``
- ``PEAR/Error.php``
- ``PEAR/ErrorStack.php``
- ``System.php``


``PEAR/Error.php`` is a dummy file that only includes ``PEAR.php``,
to make autoloaders work without problems.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
}
],
"autoload": {
"psr-0": {
"": "src/"
}
"classmap": [
"src/"
]
},
"include-path": [
"src/"
Expand Down
14 changes: 0 additions & 14 deletions src/PEAR/Error.php

This file was deleted.

0 comments on commit e656be4

Please sign in to comment.