Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

renamed lib to src

  • Loading branch information...
commit 3f848713e99c2baf1858fd36e19d5077dbe80e8e 1 parent 57d3839
@maximebf authored
View
4 README.md
@@ -41,9 +41,9 @@ with the following requirement:
}
Alternatively, you can [download the archive](https://github.com/maximebf/ConsoleKit/zipball/master)
-and add the lib/ folder to PHP's include path:
+and add the src/ folder to PHP's include path:
- set_include_path('/path/to/lib' . PATH_SEPARATOR . get_include_path());
+ set_include_path('/path/to/src' . PATH_SEPARATOR . get_include_path());
ConsoleKit does not provide an autoloader but follows the [PSR-0 convention](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md).
You can use the following snippet to autoload ConsoleKit classes:
View
2  composer.json
@@ -15,6 +15,6 @@
"php": ">=5.3.0"
},
"autoload": {
- "psr-0": {"ConsoleKit": "lib/"}
+ "psr-0": {"ConsoleKit": "src/"}
}
}
View
2  phpunit.xml.dist
@@ -19,7 +19,7 @@
<filter>
<whitelist>
- <directory>./lib/ConsoleKit/</directory>
+ <directory>./src/ConsoleKit/</directory>
</whitelist>
</filter>
</phpunit>
View
0  lib/ConsoleKit/Colors.php → src/ConsoleKit/Colors.php
File renamed without changes
View
0  lib/ConsoleKit/Command.php → src/ConsoleKit/Command.php
File renamed without changes
View
0  lib/ConsoleKit/Console.php → src/ConsoleKit/Console.php
File renamed without changes
View
0  lib/ConsoleKit/ConsoleException.php → src/ConsoleKit/ConsoleException.php
File renamed without changes
View
0  lib/ConsoleKit/DefaultOptionsParser.php → src/ConsoleKit/DefaultOptionsParser.php
File renamed without changes
View
0  lib/ConsoleKit/EchoTextWriter.php → src/ConsoleKit/EchoTextWriter.php
File renamed without changes
View
0  lib/ConsoleKit/FormatedWriter.php → src/ConsoleKit/FormatedWriter.php
File renamed without changes
View
0  lib/ConsoleKit/Help.php → src/ConsoleKit/Help.php
File renamed without changes
View
0  lib/ConsoleKit/HelpCommand.php → src/ConsoleKit/HelpCommand.php
File renamed without changes
View
0  lib/ConsoleKit/OptionsParser.php → src/ConsoleKit/OptionsParser.php
File renamed without changes
View
0  lib/ConsoleKit/StdTextWriter.php → src/ConsoleKit/StdTextWriter.php
File renamed without changes
View
0  lib/ConsoleKit/TextFormater.php → src/ConsoleKit/TextFormater.php
File renamed without changes
View
0  lib/ConsoleKit/TextWriter.php → src/ConsoleKit/TextWriter.php
File renamed without changes
View
0  lib/ConsoleKit/Utils.php → src/ConsoleKit/Utils.php
File renamed without changes
View
0  lib/ConsoleKit/Widgets/AbstractWidget.php → src/ConsoleKit/Widgets/AbstractWidget.php
File renamed without changes
View
0  lib/ConsoleKit/Widgets/Box.php → src/ConsoleKit/Widgets/Box.php
File renamed without changes
View
0  lib/ConsoleKit/Widgets/Dialog.php → src/ConsoleKit/Widgets/Dialog.php
File renamed without changes
View
0  lib/ConsoleKit/Widgets/ProgressBar.php → src/ConsoleKit/Widgets/ProgressBar.php
File renamed without changes
View
4 tests/bootstrap.php
@@ -2,7 +2,7 @@
set_include_path(implode(PATH_SEPARATOR, array(
__DIR__,
- __DIR__ . '/../lib',
+ __DIR__ . '/../src',
get_include_path()
)));
@@ -11,4 +11,4 @@
$filename = str_replace('\\', DIRECTORY_SEPARATOR, trim($className, '\\')) . '.php';
require_once $filename;
}
-});
+});
Please sign in to comment.
Something went wrong with that request. Please try again.