[TASK] Improve performance of Bootstrap/PackageManager 29/28329/7
authorThomas Maroschik <tmaroschik@dfau.de>
Sat, 15 Mar 2014 12:41:04 +0000 (13:41 +0100)
committerErnesto Baschny <ernst@cron-it.de>
Sat, 15 Mar 2014 22:52:45 +0000 (23:52 +0100)
This patch is a combined patch which tries to address
the findings from the Bootstrap/PackageManager/ClassLoader
performance analysis.

Resolves: #56934
Resolves: #56310
Resolves: #56331
Resolves: #56341
Resolves: #56538
Releases: 6.2
Change-Id: I269159906534f58eff59973ab30e170fadac10e4
Reviewed-on: https://review.typo3.org/28329
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
92 files changed:
typo3/sysext/about/Classes/Package.php [deleted file]
typo3/sysext/about/composer.json
typo3/sysext/aboutmodules/Classes/Package.php [deleted file]
typo3/sysext/aboutmodules/composer.json
typo3/sysext/backend/Classes/Package.php [deleted file]
typo3/sysext/backend/composer.json
typo3/sysext/belog/Classes/Package.php [deleted file]
typo3/sysext/belog/composer.json
typo3/sysext/beuser/Classes/Package.php [deleted file]
typo3/sysext/beuser/composer.json
typo3/sysext/cms/Classes/Package.php [deleted file]
typo3/sysext/cms/composer.json
typo3/sysext/context_help/Classes/Package.php [deleted file]
typo3/sysext/context_help/composer.json
typo3/sysext/core/Classes/Compatibility/LoadedExtensionArrayElement.php
typo3/sysext/core/Classes/Compatibility/LoadedExtensionsArray.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Classes/Package.php [deleted file]
typo3/sysext/core/Classes/Package/Exception/PackageManagerCacheUnavailableException.php [new file with mode: 0644]
typo3/sysext/core/Classes/Package/Package.php
typo3/sysext/core/Classes/Package/PackageManager.php
typo3/sysext/core/composer.json
typo3/sysext/core/ext_autoload.php
typo3/sysext/core/ext_localconf.php
typo3/sysext/cshmanual/Classes/Package.php [deleted file]
typo3/sysext/cshmanual/composer.json
typo3/sysext/css_styled_content/Classes/Package.php [deleted file]
typo3/sysext/css_styled_content/composer.json
typo3/sysext/documentation/Classes/Package.php [deleted file]
typo3/sysext/documentation/composer.json
typo3/sysext/extbase/Classes/Package.php [deleted file]
typo3/sysext/extbase/composer.json
typo3/sysext/extensionmanager/Classes/Package.php [deleted file]
typo3/sysext/extensionmanager/composer.json
typo3/sysext/extra_page_cm_options/Classes/Package.php [deleted file]
typo3/sysext/extra_page_cm_options/composer.json
typo3/sysext/felogin/Classes/Package.php [deleted file]
typo3/sysext/felogin/composer.json
typo3/sysext/filelist/Classes/Package.php [deleted file]
typo3/sysext/filelist/composer.json
typo3/sysext/fluid/Classes/Package.php [deleted file]
typo3/sysext/fluid/composer.json
typo3/sysext/form/Classes/Package.php [deleted file]
typo3/sysext/form/composer.json
typo3/sysext/frontend/Classes/Package.php [deleted file]
typo3/sysext/frontend/composer.json
typo3/sysext/func/Classes/Package.php [deleted file]
typo3/sysext/func/composer.json
typo3/sysext/func_wizards/Classes/Package.php [deleted file]
typo3/sysext/func_wizards/composer.json
typo3/sysext/impexp/Classes/Package.php [deleted file]
typo3/sysext/impexp/composer.json
typo3/sysext/info/Classes/Package.php [deleted file]
typo3/sysext/info/composer.json
typo3/sysext/info_pagetsconfig/Classes/Package.php [deleted file]
typo3/sysext/info_pagetsconfig/composer.json
typo3/sysext/install/Classes/Package.php [deleted file]
typo3/sysext/install/composer.json
typo3/sysext/lang/Classes/Package.php [deleted file]
typo3/sysext/lang/composer.json
typo3/sysext/lowlevel/Classes/Package.php [deleted file]
typo3/sysext/lowlevel/composer.json
typo3/sysext/perm/Classes/Package.php [deleted file]
typo3/sysext/perm/composer.json
typo3/sysext/recordlist/Classes/Package.php [deleted file]
typo3/sysext/recordlist/composer.json
typo3/sysext/reports/Classes/Package.php [deleted file]
typo3/sysext/reports/composer.json
typo3/sysext/rsaauth/Classes/Package.php [deleted file]
typo3/sysext/rsaauth/composer.json
typo3/sysext/rtehtmlarea/Classes/Package.php [deleted file]
typo3/sysext/rtehtmlarea/composer.json
typo3/sysext/saltedpasswords/Classes/Package.php [deleted file]
typo3/sysext/saltedpasswords/composer.json
typo3/sysext/setup/Classes/Package.php [deleted file]
typo3/sysext/setup/composer.json
typo3/sysext/sv/Classes/Package.php [deleted file]
typo3/sysext/sv/composer.json
typo3/sysext/sys_note/Classes/Package.php [deleted file]
typo3/sysext/sys_note/composer.json
typo3/sysext/t3editor/Classes/Package.php [deleted file]
typo3/sysext/t3editor/composer.json
typo3/sysext/t3skin/Classes/Package.php [deleted file]
typo3/sysext/t3skin/composer.json
typo3/sysext/tstemplate/Classes/Package.php [deleted file]
typo3/sysext/tstemplate/composer.json
typo3/sysext/viewpage/Classes/Package.php [deleted file]
typo3/sysext/viewpage/composer.json
typo3/sysext/wizard_crpages/Classes/Package.php [deleted file]
typo3/sysext/wizard_crpages/composer.json
typo3/sysext/wizard_sortpages/Classes/Package.php [deleted file]
typo3/sysext/wizard_sortpages/composer.json

diff --git a/typo3/sysext/about/Classes/Package.php b/typo3/sysext/about/Classes/Package.php
deleted file mode 100644 (file)
index 2b53514..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\About;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the About package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 4a41dfb..6b9ba7f 100644 (file)
        },
        "replace": {
                "about": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
\ No newline at end of file
diff --git a/typo3/sysext/aboutmodules/Classes/Package.php b/typo3/sysext/aboutmodules/Classes/Package.php
deleted file mode 100644 (file)
index 1395dcd..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Aboutmodules;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Aboutmodules package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 9e7f490..ce5596c 100644 (file)
        },
        "replace": {
                "aboutmodules": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
\ No newline at end of file
diff --git a/typo3/sysext/backend/Classes/Package.php b/typo3/sysext/backend/Classes/Package.php
deleted file mode 100644 (file)
index 608c6c5..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-namespace TYPO3\CMS\Backend;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the backend package
- *
- * @author Thomas Maroschik <tmaroschik@dfau.de>
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
index c468e8b..d2bf0ee 100644 (file)
        },
        "replace": {
                "backend": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/belog/Classes/Package.php b/typo3/sysext/belog/Classes/Package.php
deleted file mode 100644 (file)
index 778652c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Belog;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Belog package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 6785ff5..c6645f1 100644 (file)
        },
        "replace": {
                "belog": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/beuser/Classes/Package.php b/typo3/sysext/beuser/Classes/Package.php
deleted file mode 100644 (file)
index c553e27..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Beuser;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Beuser package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 1cb6aa8..318acbf 100644 (file)
        },
        "replace": {
                "beuser": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/cms/Classes/Package.php b/typo3/sysext/cms/Classes/Package.php
deleted file mode 100644 (file)
index ac87d2c..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-<?php
-namespace TYPO3\CMS\Cms;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the cms package
- *
- * @author Thomas Maroschik <tmaroschik@dfau.de>
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index f466a5b..af484f4 100644 (file)
        },
        "replace": {
                "cms": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/context_help/Classes/Package.php b/typo3/sysext/context_help/Classes/Package.php
deleted file mode 100644 (file)
index 5f44b24..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\ContextHelp;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the ContextHelp package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index a328f88..ee3f3bb 100644 (file)
        },
        "replace": {
                "context_help": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
index 495f664..f4ca900 100644 (file)
@@ -222,4 +222,11 @@ class LoadedExtensionArrayElement implements \IteratorAggregate, \ArrayAccess, \
        public function count() {
                return count($this->extensionInformation);
        }
+
+       /**
+        * @return array
+        */
+       public function toArray() {
+               return iterator_to_array($this);
+       }
 }
index 937d8bb..dad93b2 100644 (file)
@@ -215,4 +215,16 @@ class LoadedExtensionsArray implements \Iterator, \ArrayAccess, \Serializable, \
        public function hasPackageManager() {
                return $this->packageManager !== NULL;
        }
+
+       /**
+        * @return array
+        */
+       public function toArray() {
+               return array_map(
+                       function($loadedExtElement) {
+                               return $loadedExtElement->toArray();
+                       },
+                       iterator_to_array($this)
+               );
+       }
 }
index 2e294d8..0b22dd3 100644 (file)
@@ -169,6 +169,7 @@ class Bootstrap {
         */
        public function redirectToInstallerIfEssentialConfigurationDoesNotExist($pathUpToDocumentRoot = '') {
                $configurationManager = new \TYPO3\CMS\Core\Configuration\ConfigurationManager;
+               $this->setEarlyInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager', $configurationManager);
                if (!file_exists($configurationManager->getLocalConfigurationFileLocation()) || !file_exists(PATH_typo3conf . 'PackageStates.php')) {
                        require_once __DIR__ . '/../Utility/HttpUtility.php';
                        Utility\HttpUtility::redirect($pathUpToDocumentRoot . 'typo3/sysext/install/Start/Install.php');
@@ -317,7 +318,6 @@ class Bootstrap {
                $packageManager->injectDependencyResolver(Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Package\\DependencyResolver'));
                $packageManager->initialize($this);
                Utility\GeneralUtility::setSingletonInstance('TYPO3\\CMS\\Core\\Package\\PackageManager', $packageManager);
-               $GLOBALS['TYPO3_LOADED_EXT'] = new \TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray($packageManager);
                return $this;
        }
 
@@ -388,8 +388,12 @@ class Bootstrap {
         * @return Bootstrap
         */
        public function populateLocalConfiguration() {
-               $configurationManager = new \TYPO3\CMS\Core\Configuration\ConfigurationManager();
-               $this->setEarlyInstance('TYPO3\CMS\Core\Configuration\ConfigurationManager', $configurationManager);
+               try {
+                       $configurationManager = $this->getEarlyInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager');
+               } catch(\TYPO3\CMS\Core\Exception $exception) {
+                       $configurationManager = new \TYPO3\CMS\Core\Configuration\ConfigurationManager();
+                       $this->setEarlyInstance('TYPO3\\CMS\\Core\\Configuration\\ConfigurationManager', $configurationManager);
+               }
                $configurationManager->exportConfiguration();
                return $this;
        }
diff --git a/typo3/sysext/core/Classes/Package.php b/typo3/sysext/core/Classes/Package.php
deleted file mode 100644 (file)
index 4f6c9cb..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Core;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the core package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
diff --git a/typo3/sysext/core/Classes/Package/Exception/PackageManagerCacheUnavailableException.php b/typo3/sysext/core/Classes/Package/Exception/PackageManagerCacheUnavailableException.php
new file mode 100644 (file)
index 0000000..694961e
--- /dev/null
@@ -0,0 +1,17 @@
+<?php
+namespace TYPO3\CMS\Core\Package\Exception;
+
+// Copyright header is left out here by intention and should be restored once
+// this file is committed.
+
+/**
+ * A package cache unavailable exception
+ */
+class PackageManagerCacheUnavailableException extends \TYPO3\CMS\Core\Package\Exception {
+
+       // @TODO remove this comment once it is committed
+       // This comment is here to prevent false positive git rename detection
+       // It has to have a certain length to get around the 90% similarity limit.
+       // It can be removed at any time and all text is just here for that case.
+
+}
\ No newline at end of file
index c2f6e22..5b08186 100644 (file)
@@ -95,12 +95,30 @@ class Package extends \TYPO3\Flow\Package\Package implements PackageInterface {
                } catch (\TYPO3\Flow\Package\Exception\MissingPackageManifestException $exception) {
                        $this->getExtensionEmconf($packageKey, $this->packagePath);
                }
+               $this->loadFlagsFromComposerManifest();
                if ($this->objectManagementEnabled === NULL) {
                        $this->objectManagementEnabled = FALSE;
                }
        }
 
        /**
+        * Loads package management related flags from the "extra:typo3/cms:Package" section
+        * of extensions composer.json files into local properties
+        *
+        * @return void
+        */
+       protected function loadFlagsFromComposerManifest() {
+               $extraFlags = $this->getComposerManifest('extra');
+               if ($extraFlags !== NULL && isset($extraFlags->{"typo3/cms"}->{"Package"})) {
+                       foreach ($extraFlags->{"typo3/cms"}->{"Package"} as $flagName => $flagValue) {
+                               if (property_exists($this, $flagName)) {
+                                       $this->{$flagName} = $flagValue;
+                               }
+                       }
+               }
+       }
+
+       /**
         * @return bool
         */
        public function isPartOfFactoryDefault() {
index c2b272d..7f98685 100644 (file)
@@ -65,6 +65,11 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
        /**
         * @var array
         */
+       protected $requiredPackageKeys = array();
+
+       /**
+        * @var array
+        */
        protected $runtimeActivatedPackages = array();
 
        /**
@@ -117,33 +122,20 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
                $this->packageStatesPathAndFilename = PATH_typo3conf . 'PackageStates.php';
                $this->packageFactory = new PackageFactory($this);
 
-               $this->loadPackageStates();
-
-               $requiredList = array();
-               foreach ($this->packages as $packageKey => $package) {
-                       /** @var $package Package */
-                       $protected = $package->isProtected();
-                       if ($protected) {
-                               $requiredList[$packageKey] = $package;
-                       }
-                       if (isset($this->packageStatesConfiguration['packages'][$packageKey]['state']) && $this->packageStatesConfiguration['packages'][$packageKey]['state'] === 'active') {
-                               $this->activePackages[$packageKey] = $package;
-                       }
-               }
-               $previousActivePackage = $this->activePackages;
-               $this->activePackages = array_merge($requiredList, $this->activePackages);
-
-               if ($this->activePackages != $previousActivePackage) {
-                       foreach ($requiredList as $requiredPackageKey => $package) {
-                               $this->packageStatesConfiguration['packages'][$requiredPackageKey]['state'] = 'active';
-                       }
-                       $this->sortAndSavePackageStates();
+               $loadedFromCache = FALSE;
+               try {
+                       $this->loadPackageManagerStatesFromCache();
+                       $loadedFromCache = TRUE;
+               } catch (Exception\PackageManagerCacheUnavailableException $exception) {
+                       $this->loadPackageStates();
+                       $this->initializePackageObjects();
+                       $this->initializeCompatibilityLoadedExtArray();
                }
 
                //@deprecated since 6.2, don't use
                if (!defined('REQUIRED_EXTENSIONS')) {
                        // List of extensions required to run the core
-                       define('REQUIRED_EXTENSIONS', implode(',', array_keys($requiredList)));
+                       define('REQUIRED_EXTENSIONS', implode(',', $this->requiredPackageKeys));
                }
 
                $cacheIdentifier = $this->getCacheIdentifier();
@@ -159,7 +151,19 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
                        $package->boot($bootstrap);
                }
 
-               $this->saveToPackageCache();
+               if (!$loadedFromCache) {
+                       $this->saveToPackageCache();
+               }
+       }
+
+       /**
+        * @return PackageFactory
+        */
+       protected function getPackageFactory() {
+               if (!isset($this->packageFactory)) {
+                       $this->packageFactory = new PackageFactory($this);
+               }
+               return $this->packageFactory;
        }
 
        /**
@@ -197,25 +201,58 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
                                'packageStatesConfiguration'  => $this->packageStatesConfiguration,
                                'packageAliasMap' => $this->packageAliasMap,
                                'packageKeys' => $this->packageKeys,
-                               'declaringPackageClassPathsAndFilenames' => array(),
+                               'activePackageKeys' => array_keys($this->activePackages),
+                               'requiredPackageKeys' => $this->requiredPackageKeys,
+                               'loadedExtArray' => $GLOBALS['TYPO3_LOADED_EXT'],
                                'packageObjectsCacheEntryIdentifier' => $packageObjectsCacheEntryIdentifier
                        );
+                       $packageClassSources = array(
+                               'typo3\\flow\\package\\package' => NULL,
+                               'typo3\\cms\\core\\package\\package' => NULL,
+                       );
                        foreach ($this->packages as $package) {
-                               if (!isset($packageCache['declaringPackageClassPathsAndFilenames'][$packageClassName = get_class($package)])) {
+                               $packageClassName = strtolower(get_class($package));
+                               if (!isset($packageClassSources[$packageClassName]) || $packageClassSources[$packageClassName] === NULL) {
                                        $reflectionPackageClass = new \ReflectionClass($packageClassName);
-                                       $packageCache['declaringPackageClassPathsAndFilenames'][$packageClassName] = $reflectionPackageClass->getFileName();
+                                       $packageClassSource = file_get_contents($reflectionPackageClass->getFileName());
+                                       $packageClassSources[$packageClassName] = preg_replace('/<\?php|\?>/i', '', $packageClassSource);
                                }
                        }
                        $this->coreCache->set($packageObjectsCacheEntryIdentifier, serialize($this->packages));
                        $this->coreCache->set(
                                $cacheEntryIdentifier,
-                               'return ' . PHP_EOL .
-                                       var_export($packageCache, TRUE) . ';'
+                               implode(PHP_EOL, $packageClassSources) . PHP_EOL .
+                                       'return ' . PHP_EOL . var_export($packageCache, TRUE) . ';'
                        );
                }
        }
 
        /**
+        * Attempts to load the package manager states from cache
+        *
+        * @throws Exception\PackageManagerCacheUnavailableException
+        */
+       protected function loadPackageManagerStatesFromCache() {
+               $cacheEntryIdentifier = $this->getCacheEntryIdentifier();
+               if ($cacheEntryIdentifier === NULL || !$this->coreCache->has($cacheEntryIdentifier) || !($packageCache = $this->coreCache->requireOnce($cacheEntryIdentifier))) {
+                       throw new Exception\PackageManagerCacheUnavailableException('The package state cache could not be loaded.', 1393883342);
+               }
+               $this->packageStatesConfiguration = $packageCache['packageStatesConfiguration'];
+               $this->packageAliasMap = $packageCache['packageAliasMap'];
+               $this->packageKeys = $packageCache['packageKeys'];
+               $this->requiredPackageKeys = $packageCache['requiredPackageKeys'];
+               $GLOBALS['TYPO3_LOADED_EXT'] = $packageCache['loadedExtArray'];
+               $GLOBALS['TYPO3_currentPackageManager'] = $this;
+               // Strip off PHP Tags from Php Cache Frontend
+               $packageObjects = substr(substr($this->coreCache->get($packageCache['packageObjectsCacheEntryIdentifier']), 6), 0, -2);
+               $this->packages = unserialize($packageObjects);
+               foreach ($packageCache['activePackageKeys'] as $activePackageKey) {
+                       $this->activePackages[$activePackageKey] = $this->packages[$activePackageKey];
+               }
+               unset($GLOBALS['TYPO3_currentPackageManager']);
+       }
+
+       /**
         * Loads the states of available packages from the PackageStates.php file.
         * The result is stored in $this->packageStatesConfiguration.
         *
@@ -223,32 +260,57 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
         * @return void
         */
        protected function loadPackageStates() {
-               $cacheEntryIdentifier = $this->getCacheEntryIdentifier();
-               if ($cacheEntryIdentifier !== NULL && $this->coreCache->has($cacheEntryIdentifier) && $packageCache = $this->coreCache->requireOnce($cacheEntryIdentifier)) {
-                       foreach ($packageCache['declaringPackageClassPathsAndFilenames'] as $packageClassPathAndFilename) {
-                               require_once $packageClassPathAndFilename;
-                       }
-                       $this->packageStatesConfiguration = $packageCache['packageStatesConfiguration'];
-                       $this->packageAliasMap = $packageCache['packageAliasMap'];
-                       $this->packageKeys = $packageCache['packageKeys'];
-                       $GLOBALS['TYPO3_currentPackageManager'] = $this;
-                       // Strip off PHP Tags from Php Cache Frontend
-                       $packageObjects = substr(substr($this->coreCache->get($packageCache['packageObjectsCacheEntryIdentifier']), 6), 0, -2);
-                       $this->packages = unserialize($packageObjects);
-                       unset($GLOBALS['TYPO3_currentPackageManager']);
+               $this->packageStatesConfiguration = @include($this->packageStatesPathAndFilename) ?: array();
+               if (!isset($this->packageStatesConfiguration['version']) || $this->packageStatesConfiguration['version'] < 4) {
+                       $this->packageStatesConfiguration = array();
+               }
+               if ($this->packageStatesConfiguration !== array()) {
+                       $this->registerPackagesFromConfiguration();
                } else {
-                       $this->packageStatesConfiguration = @include($this->packageStatesPathAndFilename) ?: array();
-                       if (!isset($this->packageStatesConfiguration['version']) || $this->packageStatesConfiguration['version'] < 4) {
-                               $this->packageStatesConfiguration = array();
+                       throw new Exception\PackageStatesUnavailableException('The PackageStates.php file is either corrupt or unavailable.', 1381507733);
+               }
+       }
+
+       /**
+        * Initializes activePackages and requiredPackageKeys properties
+        *
+        * Saves PackageStates.php if list of required extensions has changed.
+        *
+        * @return void
+        */
+       protected function initializePackageObjects() {
+               $requiredPackages = array();
+               foreach ($this->packages as $packageKey => $package) {
+                       $protected = $package->isProtected();
+                       if ($protected) {
+                               $requiredPackages[$packageKey] = $package;
                        }
-                       if ($this->packageStatesConfiguration !== array()) {
-                               $this->registerPackagesFromConfiguration();
-                       } else {
-                               throw new Exception\PackageStatesUnavailableException('The PackageStates.php file is either corrupt or unavailable.', 1381507733);
+                       if (isset($this->packageStatesConfiguration['packages'][$packageKey]['state']) && $this->packageStatesConfiguration['packages'][$packageKey]['state'] === 'active') {
+                               $this->activePackages[$packageKey] = $package;
+                       }
+               }
+               $previousActivePackage = $this->activePackages;
+               $this->activePackages = array_merge($requiredPackages, $this->activePackages);
+               $this->requiredPackageKeys = array_keys($requiredPackages);
+
+               if ($this->activePackages != $previousActivePackage) {
+                       foreach ($this->requiredPackageKeys as $requiredPackageKey) {
+                               $this->packageStatesConfiguration['packages'][$requiredPackageKey]['state'] = 'active';
                        }
+                       $this->sortAndSavePackageStates();
                }
        }
 
+       /**
+        * Initializes a backwards compatibility $GLOBALS['TYPO3_LOADED_EXT'] array
+        *
+        * @return void
+        */
+       protected function initializeCompatibilityLoadedExtArray() {
+               $loadedExtObj = new \TYPO3\CMS\Core\Compatibility\LoadedExtensionsArray($this);
+               $GLOBALS['TYPO3_LOADED_EXT'] = $loadedExtObj->toArray();
+       }
+
 
        /**
         * Scans all directories in the packages directories for available packages.
@@ -381,7 +443,7 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
                        $manifestPath = isset($stateConfiguration['manifestPath']) ? $stateConfiguration['manifestPath'] : NULL;
 
                        try {
-                               $package = $this->packageFactory->create($this->packagesBasePath, $packagePath, $packageKey, $classesPath, $manifestPath);
+                               $package = $this->getPackageFactory()->create($this->packagesBasePath, $packagePath, $packageKey, $classesPath, $manifestPath);
                        } catch (\TYPO3\Flow\Package\Exception\InvalidPackagePathException $exception) {
                                $this->unregisterPackageByPackageKey($packageKey);
                                continue;
@@ -551,6 +613,10 @@ class PackageManager extends \TYPO3\Flow\Package\PackageManager implements \TYPO
                $package = $this->getPackage($packageKey);
                $this->runtimeActivatedPackages[$package->getPackageKey()] = $package;
                $this->classLoader->addActivePackage($package);
+               if (!isset($GLOBALS['TYPO3_LOADED_EXT'][$package->getPackageKey()])) {
+                       $loadedExtArrayElement = new \TYPO3\CMS\Core\Compatibility\LoadedExtensionArrayElement($package);
+                       $GLOBALS['TYPO3_LOADED_EXT'][$package->getPackageKey()] = $loadedExtArrayElement->toArray();
+               }
        }
 
 
index 916f1bb..e71ab22 100644 (file)
        },
        "replace": {
                "core": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
index 7e880d9..79ce4c1 100644 (file)
@@ -1,7 +1,7 @@
 <?php
-// DO NOT CHANGE THIS FILE! It is automatically generated by extdeveval::buildAutoloadRegistry.
-// This file was generated on 2012-06-22 14:48
-$typo3Classes = array(
+// Adapt this file if things need to be available in the bootstrap
+$flowClassesPath = __DIR__ . '/Resources/PHP/TYPO3.Flow/Classes/';
+return array(
        'ext_posmap_pages' => PATH_typo3 . 'move_el.php',
        'ext_posmap_tt_content' => PATH_typo3 . 'move_el.php',
        'moveelementlocalpagetree' => PATH_typo3 . 'move_el.php',
@@ -13,9 +13,6 @@ $typo3Classes = array(
        'transferdata' => PATH_typo3 . 'show_item.php',
        'Psr\\Log\\LoggerInterface' => PATH_typo3 . 'contrib/Psr/Log/LoggerInterface.php',
        'Psr\\Log\\InvalidArgumentException' => PATH_typo3 . 'contrib/Psr/Log/InvalidArgumentException.php',
-);
-$flowClassesPath = __DIR__ . '/Resources/PHP/TYPO3.Flow/Classes/';
-$flowClasses = array(
        'typo3\flow\package\documentation\format' => $flowClassesPath . 'TYPO3/Flow/Package/Documentation/Format.php',
        'typo3\flow\package\documentation' => $flowClassesPath . 'TYPO3/Flow/Package/Documentation.php',
        'typo3\flow\package\exception\corruptpackageexception' => $flowClassesPath . 'TYPO3/Flow/Package/Exception/CorruptPackageException.php',
@@ -48,4 +45,3 @@ $flowClasses = array(
        'typo3\flow\utility\exception' => $flowClassesPath . 'TYPO3/Flow/Utility/Exception.php',
        'typo3\flow\exception' => $flowClassesPath . 'TYPO3/Flow/Exception.php',
 );
-return array_merge($typo3Classes, $flowClasses);
index 66b3a70..e431afc 100644 (file)
@@ -25,4 +25,4 @@ if (TYPO3_MODE === 'BE' && !(TYPO3_REQUESTTYPE & TYPO3_REQUESTTYPE_INSTALL)) {
        'removeFromRepository'
 );
 
-$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['dumpFile'] = 'EXT:core/Resources/PHP/FileDumpEID.php';
\ No newline at end of file
+$GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['dumpFile'] = 'EXT:core/Resources/PHP/FileDumpEID.php';
diff --git a/typo3/sysext/cshmanual/Classes/Package.php b/typo3/sysext/cshmanual/Classes/Package.php
deleted file mode 100644 (file)
index 2f9f8f8..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Cshmanual;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the cshmanual package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index 6aa24a0..80c1f65 100644 (file)
        },
        "replace": {
                "cshmanual": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/css_styled_content/Classes/Package.php b/typo3/sysext/css_styled_content/Classes/Package.php
deleted file mode 100644 (file)
index 1d2d30c..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\CssStyledContent;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2014 Nicole Cordes <typo3@cordes.co>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the CssStyledContent package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 50456da..2dd1fdb 100644 (file)
        },
        "replace": {
                "css_styled_content": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/documentation/Classes/Package.php b/typo3/sysext/documentation/Classes/Package.php
deleted file mode 100644 (file)
index 3502a7f..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Documentation;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Documentation package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 867c549..7e35008 100644 (file)
        },
        "replace": {
                "documentation": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/extbase/Classes/Package.php b/typo3/sysext/extbase/Classes/Package.php
deleted file mode 100644 (file)
index 3d1e7f6..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Extbase;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the extbase package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index 0b6379d..ed61b97 100644 (file)
        },
        "replace": {
                "extbase": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/extensionmanager/Classes/Package.php b/typo3/sysext/extensionmanager/Classes/Package.php
deleted file mode 100644 (file)
index b6f1650..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Extensionmanager;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the extensionmanager package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index 024af9b..d1d03ba 100644 (file)
        },
        "replace": {
                "extensionmanager": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/extra_page_cm_options/Classes/Package.php b/typo3/sysext/extra_page_cm_options/Classes/Package.php
deleted file mode 100644 (file)
index 2a85954..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\ExtraPageCmOptions;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the ExtraPageCmOptions package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 08f46ce..bb779ba 100644 (file)
        },
        "replace": {
                "extra_page_cm_options": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/felogin/Classes/Package.php b/typo3/sysext/felogin/Classes/Package.php
deleted file mode 100644 (file)
index f5331f6..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Felogin;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Felogin package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 36ae797..131491b 100644 (file)
        },
        "replace": {
                "felogin": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/filelist/Classes/Package.php b/typo3/sysext/filelist/Classes/Package.php
deleted file mode 100644 (file)
index 509c4a0..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Filelist;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Filelist package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index c540e4c..5255c34 100644 (file)
        },
        "replace": {
                "filelist": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/fluid/Classes/Package.php b/typo3/sysext/fluid/Classes/Package.php
deleted file mode 100644 (file)
index b63dbf3..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Fluid;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the fluid package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index bbc3511..986bdd8 100644 (file)
        },
        "replace": {
                "fluid": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/form/Classes/Package.php b/typo3/sysext/form/Classes/Package.php
deleted file mode 100644 (file)
index d83d628..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Form;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the form package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
\ No newline at end of file
index 75220a8..5f2f0cf 100644 (file)
        },
        "replace": {
                "form": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/frontend/Classes/Package.php b/typo3/sysext/frontend/Classes/Package.php
deleted file mode 100644 (file)
index 8b834c2..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Frontend;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the frontend package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index 0594568..dd22690 100644 (file)
        },
        "replace": {
                "frontend": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/func/Classes/Package.php b/typo3/sysext/func/Classes/Package.php
deleted file mode 100644 (file)
index 296edda..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Func;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Func package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index bb754e6..ab80ce9 100644 (file)
        },
        "replace": {
                "func": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/func_wizards/Classes/Package.php b/typo3/sysext/func_wizards/Classes/Package.php
deleted file mode 100644 (file)
index 055be87..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\FuncWizards;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the FuncWizards package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index de83c75..397b597 100644 (file)
        },
        "replace": {
                "func_wizards": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/impexp/Classes/Package.php b/typo3/sysext/impexp/Classes/Package.php
deleted file mode 100644 (file)
index 69b4928..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Impexp;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Impexp package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 10d8a6d..f587cc1 100644 (file)
        },
        "replace": {
                "impexp": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/info/Classes/Package.php b/typo3/sysext/info/Classes/Package.php
deleted file mode 100644 (file)
index e8491ca..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Info;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Info package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 068b7de..9a08227 100644 (file)
        },
        "replace": {
                "info": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/info_pagetsconfig/Classes/Package.php b/typo3/sysext/info_pagetsconfig/Classes/Package.php
deleted file mode 100644 (file)
index d94b9ac..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\InfoPagetsconfig;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the InfoPagetsconfig package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 201dc4c..c23701d 100644 (file)
        },
        "replace": {
                "info_pagetsconfig": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/install/Classes/Package.php b/typo3/sysext/install/Classes/Package.php
deleted file mode 100644 (file)
index a4cec42..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Install;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the install package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index f968095..f109e9b 100644 (file)
        },
        "replace": {
                "install": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/lang/Classes/Package.php b/typo3/sysext/lang/Classes/Package.php
deleted file mode 100644 (file)
index 2501f40..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Lang;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the lang package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index 93f66ff..f181e13 100644 (file)
        },
        "replace": {
                "lang": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/lowlevel/Classes/Package.php b/typo3/sysext/lowlevel/Classes/Package.php
deleted file mode 100644 (file)
index 413bc09..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Lowlevel;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Lowlevel package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 968fc30..4472c84 100644 (file)
        },
        "replace": {
                "lowlevel": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/perm/Classes/Package.php b/typo3/sysext/perm/Classes/Package.php
deleted file mode 100644 (file)
index 287cde5..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Perm;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Perm package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index a70905f..c8a942e 100644 (file)
        },
        "replace": {
                "perm": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/recordlist/Classes/Package.php b/typo3/sysext/recordlist/Classes/Package.php
deleted file mode 100644 (file)
index 6336baa..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Recordlist;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the recordlist package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index 455a626..10821c1 100644 (file)
        },
        "replace": {
                "recordlist": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/reports/Classes/Package.php b/typo3/sysext/reports/Classes/Package.php
deleted file mode 100644 (file)
index 80fda7e..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Reports;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Reports package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 0ce84f0..96856e0 100644 (file)
        },
        "replace": {
                "reports": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/rsaauth/Classes/Package.php b/typo3/sysext/rsaauth/Classes/Package.php
deleted file mode 100644 (file)
index 080b3be..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Rsaauth;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Rsaauth package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 61e3c42..85092d4 100644 (file)
        },
        "replace": {
                "rsaauth": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/rtehtmlarea/Classes/Package.php b/typo3/sysext/rtehtmlarea/Classes/Package.php
deleted file mode 100644 (file)
index 84c62e4..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Rtehtmlarea;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Rtehtmlarea package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index cdfc71d..126fd93 100644 (file)
        },
        "replace": {
                "rtehtmlarea": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/saltedpasswords/Classes/Package.php b/typo3/sysext/saltedpasswords/Classes/Package.php
deleted file mode 100644 (file)
index e801e4e..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Saltedpasswords;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Saltedpasswords package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index efbe99d..6dae531 100644 (file)
        },
        "replace": {
                "saltedpasswords": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/setup/Classes/Package.php b/typo3/sysext/setup/Classes/Package.php
deleted file mode 100644 (file)
index a16cbb1..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Setup;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Setup package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 7a47f03..a0f9fc8 100644 (file)
        },
        "replace": {
                "setup": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/sv/Classes/Package.php b/typo3/sysext/sv/Classes/Package.php
deleted file mode 100644 (file)
index 658aab7..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-<?php
-namespace TYPO3\CMS\Sv;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Thomas Maroschik <tmaroschik@dfau.de>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the sv package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var boolean
-        */
-       protected $protected = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
\ No newline at end of file
index ba77cd3..8ebe637 100644 (file)
        },
        "replace": {
                "sv": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "protected": true,
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/sys_note/Classes/Package.php b/typo3/sysext/sys_note/Classes/Package.php
deleted file mode 100644 (file)
index be7b971..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\SysNote;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the SysNote package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index b0f2fe5..753c2ce 100644 (file)
        },
        "replace": {
                "sys_note": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/t3editor/Classes/Package.php b/typo3/sysext/t3editor/Classes/Package.php
deleted file mode 100644 (file)
index 6028498..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\T3editor;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the T3editor package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
\ No newline at end of file
index caede9e..8d77a5f 100644 (file)
        },
        "replace": {
                "t3editor": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/t3skin/Classes/Package.php b/typo3/sysext/t3skin/Classes/Package.php
deleted file mode 100644 (file)
index 3488d04..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-namespace TYPO3\CMS\T3skin;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the T3skin package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-
-       /**
-        * @var bool
-        */
-       protected $partOfMinimalUsableSystem = TRUE;
-}
index daa07e3..520717d 100644 (file)
        },
        "replace": {
                "t3skin": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true,
+                               "partOfMinimalUsableSystem": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/tstemplate/Classes/Package.php b/typo3/sysext/tstemplate/Classes/Package.php
deleted file mode 100644 (file)
index 11d3234..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Tstemplate;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Tstemplate package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 9ee655f..eecfe6e 100644 (file)
        },
        "replace": {
                "tstemplate": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/viewpage/Classes/Package.php b/typo3/sysext/viewpage/Classes/Package.php
deleted file mode 100644 (file)
index 66c3043..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\Viewpage;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the Viewpage package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 44a1b1f..415b6e7 100644 (file)
        },
        "replace": {
                "viewpage": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/wizard_crpages/Classes/Package.php b/typo3/sysext/wizard_crpages/Classes/Package.php
deleted file mode 100644 (file)
index e47b07a..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\WizardCrpages;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the WizardCrpages package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 58e3883..d01c810 100644 (file)
        },
        "replace": {
                "wizard_crpages": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }
diff --git a/typo3/sysext/wizard_sortpages/Classes/Package.php b/typo3/sysext/wizard_sortpages/Classes/Package.php
deleted file mode 100644 (file)
index 55a9667..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-<?php
-namespace TYPO3\CMS\WizardSortpages;
-
-/***************************************************************
- *  Copyright notice
- *
- *  (c) 2013 Christian Kuhn <lolli@schwarzbu.ch>
- *  All rights reserved
- *
- *  This script is part of the TYPO3 project. The TYPO3 project is
- *  free software; you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation; either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  The GNU General Public License can be found at
- *  http://www.gnu.org/copyleft/gpl.html.
- *  A copy is found in the text file GPL.txt and important notices to the license
- *  from the author is found in LICENSE.txt distributed with these scripts.
- *
- *
- *  This script is distributed in the hope that it will be useful,
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *  GNU General Public License for more details.
- *
- *  This copyright notice MUST APPEAR in all copies of the script!
- ***************************************************************/
-
-use TYPO3\CMS\Core\Package\Package as BasePackage;
-
-/**
- * This is the WizardSortpages package
- */
-class Package extends BasePackage {
-
-       /**
-        * @var bool
-        */
-       protected $partOfFactoryDefault = TRUE;
-}
index 3e313ca..f4249fb 100644 (file)
        },
        "replace": {
                "wizard_sortpages": "*"
+       },
+       "extra": {
+               "typo3/cms": {
+                       "Package": {
+                               "partOfFactoryDefault": true
+                       }
+               }
        }
 }