Skip to content

Commit

Permalink
Merge a708102 into c8fb7a6
Browse files Browse the repository at this point in the history
  • Loading branch information
acrobat committed May 22, 2019
2 parents c8fb7a6 + a708102 commit e25a49f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions UPGRADE-5.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
UPGRADE FROM 5.3 to 5.4
=======================

AdminBundle
-----------

* The composer script class `Kunstmaan\AdminBundle\Composer\ScriptHandler` is deprecated and will be removed in 6.0.
If you use this script handler, remove it from your composer.json scripts section.
5 changes: 5 additions & 0 deletions src/Kunstmaan/AdminBundle/Composer/ScriptHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Yaml\Parser;

@trigger_error(sprintf('The composer script class "%s" is deprecated in KunstmaanAdminBundle 5.4 and will be removed in KunstmaanAdminBundle 6.0. If you use this script handler, remove it from your composer.json scripts section.', __CLASS__), E_USER_DEPRECATED);

/**
* NEXT_MAJOR remove the symfony/filesystem and symfony/yaml as direct dependency of the admin-bundle (if unused in other classes)
*/
class ScriptHandler
{
protected static $options = array(
Expand Down

0 comments on commit e25a49f

Please sign in to comment.