Skip to content

Commit ad58338

Browse files
authored
Merge pull request #548 from simonschaufi/psr-4
Use PSR-4 autoloading
2 parents f6f767f + 71ab481 commit ad58338

280 files changed

Lines changed: 5 additions & 5 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.php-cs-fixer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
$finder = PhpCsFixer\Finder::create()
66
->in([
7-
__DIR__ . '/lib',
7+
__DIR__ . '/src',
88
__DIR__ . '/Tests',
99
]);
1010

README.md

Lines changed: 1 addition & 1 deletion

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"version": "4.0.0",
66
"license": "MIT",
77
"autoload": {
8-
"psr-0": {
9-
"Fhp": "lib/"
8+
"psr-4": {
9+
"Fhp\\": "src/"
1010
}
1111
},
1212
"autoload-dev": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd">
1313
<coverage processUncoveredFiles="true">
1414
<include>
15-
<directory suffix=".php">./lib/Fhp/</directory>
15+
<directory suffix=".php">./src/</directory>
1616
</include>
1717
</coverage>
1818
<testsuites>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)