Skip to content

Commit

Permalink
Merge ed64bf6 into 3ba8c8d
Browse files Browse the repository at this point in the history
  • Loading branch information
KamiYang committed Oct 2, 2018
2 parents 3ba8c8d + ed64bf6 commit 7fe20d0
Show file tree
Hide file tree
Showing 12 changed files with 144 additions and 22 deletions.
14 changes: 12 additions & 2 deletions Classes/Backend/ToolbarItems/ProjectVersionSlot.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

namespace KamiYang\ProjectVersion\Backend\ToolbarItems;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use KamiYang\ProjectVersion\Facade\LocalizationUtilityFacade;
use KamiYang\ProjectVersion\Service\ProjectVersionService;
use TYPO3\CMS\Backend\Backend\ToolbarItems\SystemInformationToolbarItem;
Expand All @@ -13,8 +25,6 @@

/**
* Class ProjectVersionSlot
*
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
final class ProjectVersionSlot implements SingletonInterface
{
Expand Down
14 changes: 12 additions & 2 deletions Classes/Configuration/ExtensionConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,25 @@

namespace KamiYang\ProjectVersion\Configuration;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use KamiYang\ProjectVersion\Enumeration\ProjectVersionModeEnumeration;
use TYPO3\CMS\Core\SingletonInterface;
use TYPO3\CMS\Core\Utility\GeneralUtility;
use TYPO3\CMS\Core\Utility\StringUtility;

/**
* Class ExtensionConfiguration
*
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
final class ExtensionConfiguration implements SingletonInterface
{
Expand Down
14 changes: 12 additions & 2 deletions Classes/Enumeration/GitCommandEnumeration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@

namespace KamiYang\ProjectVersion\Enumeration;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

/**
* Class GitCommandEnumeration
*
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
final class GitCommandEnumeration
{
Expand Down
14 changes: 12 additions & 2 deletions Classes/Enumeration/ProjectVersionModeEnumeration.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,20 @@

namespace KamiYang\ProjectVersion\Enumeration;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

/**
* Class ProjectVersionModeEnumeration
*
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
final class ProjectVersionModeEnumeration
{
Expand Down
14 changes: 12 additions & 2 deletions Classes/Facade/CommandUtilityFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@

namespace KamiYang\ProjectVersion\Facade;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Core\Utility\CommandUtility;

/**
* Class CommandUtilityFacade
*
* @author Jan Stockfisch <j.stockfisch@neusta.de>
*/
class CommandUtilityFacade
{
Expand Down
13 changes: 12 additions & 1 deletion Classes/Facade/LocalizationUtilityFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

namespace KamiYang\ProjectVersion\Facade;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Extbase\Utility\LocalizationUtility;

/**
Expand All @@ -12,7 +24,6 @@
*
* @see \TYPO3\CMS\Extbase\Utility\LocalizationUtility
* @internal
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
class LocalizationUtilityFacade
{
Expand Down
13 changes: 12 additions & 1 deletion Classes/Facade/SystemEnvironmentBuilderFacade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

namespace KamiYang\ProjectVersion\Facade;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Core\Core\SystemEnvironmentBuilder;

/**
Expand All @@ -11,7 +23,6 @@
*
* @see \TYPO3\CMS\Core\Core\SystemEnvironmentBuilder
* @internal
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
class SystemEnvironmentBuilderFacade
{
Expand Down
14 changes: 12 additions & 2 deletions Classes/Service/ProjectVersion.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,22 @@

namespace KamiYang\ProjectVersion\Service;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use TYPO3\CMS\Core\SingletonInterface;

/**
* Class ProjectVersion
*
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
class ProjectVersion implements SingletonInterface
{
Expand Down
14 changes: 12 additions & 2 deletions Classes/Service/ProjectVersionService.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

namespace KamiYang\ProjectVersion\Service;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use KamiYang\ProjectVersion\Configuration\ExtensionConfiguration;
use KamiYang\ProjectVersion\Enumeration\GitCommandEnumeration;
use KamiYang\ProjectVersion\Enumeration\ProjectVersionModeEnumeration;
Expand All @@ -13,8 +25,6 @@

/**
* Class ProjectVersionService
*
* @author Jan Stockfisch <jan@jan-stockfisch.de>
*/
class ProjectVersionService implements SingletonInterface
{
Expand Down
14 changes: 12 additions & 2 deletions Tests/Unit/Backend/ToolbarItems/ProjectVersionSlotTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

namespace KamiYang\ProjectVersion\Tests\Unit\Backend\ToolbarItems;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use KamiYang\ProjectVersion\Backend\ToolbarItems\ProjectVersionSlot;
use KamiYang\ProjectVersion\Facade\LocalizationUtilityFacade;
use KamiYang\ProjectVersion\Service\ProjectVersion;
Expand All @@ -14,8 +26,6 @@

/**
* Class ProjectVersionSlotTest
*
* @author Jan Stockfisch <j.stockfisch@neusta.de>
*/
class ProjectVersionSlotTest extends UnitTestCase
{
Expand Down
14 changes: 12 additions & 2 deletions Tests/Unit/Service/ProjectVersionServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@

namespace KamiYang\ProjectVersion\Tests\Unit\Service;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use KamiYang\ProjectVersion\Configuration\ExtensionConfiguration;
use KamiYang\ProjectVersion\Enumeration\GitCommandEnumeration;
use KamiYang\ProjectVersion\Enumeration\ProjectVersionModeEnumeration;
Expand All @@ -16,8 +28,6 @@

/**
* Class ProjectVersionServiceTest
*
* @author Jan Stockfisch <j.stockfisch@neusta.de>
*/
class ProjectVersionServiceTest extends UnitTestCase
{
Expand Down
14 changes: 12 additions & 2 deletions Tests/Unit/Service/ProjectVersionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,23 @@

namespace KamiYang\ProjectVersion\Tests\Unit\Service;

/*
* This file is part of the ProjectVersion project.
*
* It 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 3 of the License, or
* (at your option) any later version.
*
* For the full copyright and license information, please read
* LICENSE file that was distributed with this source code.
*/

use KamiYang\ProjectVersion\Service\ProjectVersion;
use Nimut\TestingFramework\TestCase\UnitTestCase;

/**
* Class ProjectVersionTest
*
* @author Jan Stockfisch <j.stockfisch@neusta.de>
*/
class ProjectVersionTest extends UnitTestCase
{
Expand Down

0 comments on commit 7fe20d0

Please sign in to comment.