Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Updating the copyright year in the doc blocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krämer committed Jan 14, 2016
1 parent 8dcab8a commit 2205d0c
Show file tree
Hide file tree
Showing 45 changed files with 56 additions and 56 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FileStorage Plugin for CakePHP
==============================

[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt)
[![Build Status](https://img.shields.io/travis/burzum/cakephp-file-storage/3.0.svg?style=flat-square)](https://travis-ci.org/burzum/cakephp-file-storage)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt)
[![Build Status](https://img.shields.io/travis/burzum/cakephp-file-storage/3.0.svg?style=flat-square)](https://travis-ci.org/burzum/cakephp-file-storage)
[![Coverage Status](https://img.shields.io/coveralls/burzum/cakephp-file-storage/3.0.svg?style=flat-square)](https://coveralls.io/r/burzum/cakephp-file-storage)

**If you're upgrading from CakePHP 2.x please read [the migration guide](docs/Documentation/Migrating-from-CakePHP-2.md).**
Expand Down Expand Up @@ -73,7 +73,7 @@ To contribute to this plugin please follow a few basic rules.
License
-------

Copyright 2012 - 2015, Florian Krämer
Copyright 2012 - 2016, Florian Krämer

Licensed under The MIT License
Redistributions of files must retain the above copyright notice.
4 changes: 2 additions & 2 deletions config/Schema/schema.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
<?php
/**
* FileStorage
*
* @author Florian Kr�mer
* @copyright 2012 - 2015 Florian Kr�mer
* @copyright 2012 - 2016 Florian Kr�mer
* @license MIT
*/
class FileStorageSchema extends CakeSchema {
Expand Down
2 changes: 1 addition & 1 deletion src/Event/AbstractStorageEventListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* - path
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
abstract class AbstractStorageEventListener implements EventListenerInterface {
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/FileStorageUtils.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Lib;
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/StorageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* StorageManager - manages and instantiates gaufrette storage engine instances
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*
* @deprecated Use \Burzum\FileStorage\Storage\StorageManager instead.
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Behavior/UploadValidatorBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
* little less code by using it.
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class UploadValidatorBehavior extends Behavior {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Entity/FileStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* FileStorage Entity.
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class FileStorage extends Entity {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Entity/ImageStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* FileStorage Entity.
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class ImageStorage extends FileStorage {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Table/FileStorageTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* FileStorageTable
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class FileStorageTable extends Table {
Expand Down
2 changes: 1 addition & 1 deletion src/Model/Table/ImageStorageTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* ImageStorageTable
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class ImageStorageTable extends FileStorageTable {
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/ImageVersionShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* ImageShell
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class ImageVersionShell extends Shell {
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/StorageShell.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Shell;
Expand Down
2 changes: 1 addition & 1 deletion src/Shell/Task/ImageTask.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Shell\Task;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Listener/AbstractListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\Listener;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Listener/ImageProcessingTrait.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\Listener;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/Listener/LegacyLocalFileStorageListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\Listener;
Expand Down
5 changes: 3 additions & 2 deletions src/Storage/Listener/LocalListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\Listener;
Expand Down Expand Up @@ -157,7 +157,7 @@ public function removeImageVersion(Event $event) {
}

/**
* Creates the verions for an image.
* Creates the versions for an image.
*
* @param \Cake\Event\Event $event
* @return void
Expand Down Expand Up @@ -189,6 +189,7 @@ protected function _processImages(Event $event, $method) {

/**
* This method retrieves version names from event data.
*
* For backward compatibility version names are resolved from operations data keys because in old
* ImageProcessingListener operations were required in event data. ImageProcessingTrait need only
* version names so operations can be read from the config.
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/PathBuilder/BasePathBuilder.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\PathBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/PathBuilder/PathBuilderInterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\PathBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/PathBuilder/PathBuilderTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* @author Florian Krämer
* @author Robert Pustułka
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\PathBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/PathBuilder/S3PathBuilder.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage\PathBuilder;
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/StorageException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Storage Exception
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class StorageException extends Exception {
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/StorageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* StorageManager - manages and instantiates Gaufrette storage engine instances
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class StorageManager {
Expand Down
11 changes: 5 additions & 6 deletions src/Storage/StorageTrait.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Storage;
Expand All @@ -12,7 +12,7 @@
trait StorageTrait {

/**
* Wrapper around the singleton call to StorageManager::config
* Wrapper around the singleton call to StorageManager::config()
*
* Makes it easy to mock the adapter in tests.
*
Expand All @@ -28,7 +28,7 @@ public function storageConfig($configName) {
}

/**
* Wrapper around the singleton call to StorageManager::config
* Wrapper around the singleton call to StorageManager::adapter()
*
* Makes it easy to mock the adapter in tests.
*
Expand All @@ -44,12 +44,11 @@ public function storageAdapter($configName, $renewObject = false) {
}

/**
* Wrapper around the singleton call to StorageManager::config
* Wrapper around the singleton call to StorageManager::getInstance()
*
* Makes it easy to mock the adapter in tests.
*
* @param string $configName
* @return Object
* @return mixed
*/
public function storageManager() {
return StorageManager::getInstance();
Expand Down
2 changes: 1 addition & 1 deletion src/Storage/StorageUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Utility methods for which I could not find a better place
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class StorageUtils {
Expand Down
2 changes: 1 addition & 1 deletion src/TestSuite/FileStorageTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* FileStorageTestCase
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class FileStorageTestCase extends TestCase {
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/ImageHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* ImageHelper
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*
* @property \Cake\View\Helper\HtmlHelper $Html
Expand Down
2 changes: 1 addition & 1 deletion src/View/Helper/StorageHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* the url/path and true filename of a file storage entity in the view.
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class StorageHelper extends Helper {
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixture/FileStorageFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* File Storage Fixture
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Test\Fixture;
Expand Down Expand Up @@ -102,4 +102,4 @@ class FileStorageFixture extends TestFixture {
'modified' => '2012-01-01 12:00:00',
)
);
}
}
2 changes: 1 addition & 1 deletion tests/Fixture/ItemFixture.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Item Fixture
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
namespace Burzum\FileStorage\Test\Fixture;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Event/AbstractStorageEventListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* AbstractStorageEventListenerTest Test
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/
class AbstractStorageEventListenerTest extends FileStorageTestCase {
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Event/ImageProcessingListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function buildPath($image, $extension = true, $hash = null) {
* LocalImageProcessingListener Test
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*
* @property ImageProcessingListener $Listener
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Event/LocalFileStorageListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* LocalImageProcessingListener Test
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*
* @property ImageProcessingListener $Listener
Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Event/S3StorageListenerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* LocalImageProcessingListener Test
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*
* @property ImageProcessingListener $Listener
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Upload Validator Behavior Test
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @copyright 2012 - 2016 Florian Krämer
* @license MIT
*/

Expand Down
4 changes: 2 additions & 2 deletions tests/TestCase/Model/Entity/FileStorageEntityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
/**
* File Storage Entity Test
*
* @author Florian Krämer
* @copyright 2012 - 2015 Florian Krämer
* @author Florian Kr�mer
* @copyright 2012 - 2016 Florian Kr�mer
* @license MIT
*/
class FileStorageEntityTest extends FileStorageTestCase {
Expand Down
Loading

0 comments on commit 2205d0c

Please sign in to comment.