Skip to content

Commit

Permalink
Fix Autoload test classes only in development
Browse files Browse the repository at this point in the history
  • Loading branch information
JBlond committed Aug 23, 2021
1 parent 012effa commit 31b4222
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 22 deletions.
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
},
"autoload": {
"psr-4": {
"jblond\\": "lib/jblond",
"jblond\\": "lib/jblond"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests"
}
},
Expand Down
4 changes: 2 additions & 2 deletions generateChangelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
require 'vendor/autoload.php';

$changelogOptions = [
'headTagName' => '2.3.2',
'headTagDate' => '2021-03-27',
'headTagName' => '2.3.3',
'headTagDate' => '2021-08-23',
'titleOrder' => 'ASC',
];
$changelogLabels = ['Add', 'Cut', 'Fix', 'Bump', 'Document','Optimize'];
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class Diff
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/DiffUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* @author Mario Brandt <[email protected]>
* @copyright (c) 2020 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class DiffUtils
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Html/Merged.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Ferry Cools
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class Merged extends MainRenderer implements SubRendererInterface
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Html/SideBySide.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2009 Chris Boulton
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class SideBySide extends MainRenderer implements SubRendererInterface
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Html/Unified.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2009 Chris Boulton
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class Unified extends MainRenderer implements SubRendererInterface
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/MainRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2009 Chris Boulton
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class MainRenderer extends MainRendererAbstract
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/MainRendererAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Ferry Cools
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
abstract class MainRendererAbstract
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/SubRendererInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Ferry Cools
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
interface SubRendererInterface
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/Context.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2009 Chris Boulton
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class Context extends MainRendererAbstract
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/InlineCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Ferry Cools
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class InlineCli extends MainRenderer implements SubRendererInterface
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/Unified.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Mario Brandt <[email protected]>
* @copyright (c) 2020 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/

Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Renderer/Text/UnifiedCli.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @author Mario Brandt <[email protected]>
* @copyright (c) 2020 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class UnifiedCli extends MainRendererAbstract
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/SequenceMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class SequenceMatcher
Expand Down
2 changes: 1 addition & 1 deletion lib/jblond/Diff/Similarity.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Ferry Cools
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class Similarity extends SequenceMatcher
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/Renderer/Html/HtmlRenderersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class HtmlRenderersTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/Renderer/MainRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2009 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/

Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/Renderer/Text/TextRenderersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2019 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class TextRenderersTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/SequenceMatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2009 Mario Brandt
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class SequenceMatcherTest extends TestCase
Expand Down
2 changes: 1 addition & 1 deletion tests/Diff/SimilarityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @author Ferry Cools <[email protected]>
* @copyright (c) 2020 Ferry Cools
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php
* @version 2.3.2
* @version 2.3.3
* @link https://github.com/JBlond/php-diff
*/
class SimilarityTest extends TestCase
Expand Down

0 comments on commit 31b4222

Please sign in to comment.