Skip to content

Commit e8a5931

Browse files
committed
chore: Release v4.0.1
Signed-off-by: Bruno Gaspar <brunofgaspar1@gmail.com>
1 parent 2c95739 commit e8a5931

17 files changed

+25
-17
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
### v4.0.1 - 2019-12-27
4+
5+
`FIXED`
6+
7+
- Implode parameters order on Migrations Generator class.
8+
39
### v4.0.0 - 2019-09-11
410

511
- BC Break: PHP 7.2 is the minimum required PHP version

src/Extension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

src/Generators/AbstractGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

src/Generators/DataGridGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

src/Generators/ExtensionGenerator.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC
@@ -522,7 +522,9 @@ protected function databaseDirs(): void
522522
*/
523523
protected function alreadyExists(string $oldContent, string $newContent): bool
524524
{
525-
if (! $newContent) return false;
525+
if (! $newContent) {
526+
return false;
527+
}
526528

527529
if (strpos($oldContent, $newContent) !== false) {
528530
return true;

src/Generators/ExtensionThemeGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

src/Generators/FormGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

src/Generators/MigrationsGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

src/Generators/RepositoryGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

tests/DataGridGeneratorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* bundled with this package in the license.txt file.
1212
*
1313
* @package Workshop
14-
* @version 4.0.0
14+
* @version 4.0.1
1515
* @author Cartalyst LLC
1616
* @license Cartalyst PSL
1717
* @copyright (c) 2011-2019, Cartalyst LLC

0 commit comments

Comments
 (0)