PHP Classes

File: CHANGELOG.md

Recommend this page to a friend!
  Classes of Josantonius   PHP Asset   CHANGELOG.md   Download  
File: CHANGELOG.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: PHP Asset
Generate HTML to include JavaScript and CSS files
Author: By
Last change: Updated to 1.1.7 version
Date: 6 years ago
Size: 7,599 bytes
 

Contents

Class file image Download

CHANGELOG

1.1.7 - 2018-01-05

  • The tests were fixed.
  • Changes in documentation.

1.1.6 - 2017-11-08

  • Implemented `PHP Mess Detector` to detect inconsistencies in code styles.
  • Implemented `PHP Code Beautifier and Fixer` to fixing errors automatically.
  • Implemented `PHP Coding Standards Fixer` to organize PHP code automatically according to PSR standards.

1.1.5 - 2017-10-24

  • Implemented `PSR-4 autoloader standard` from all library files.
  • Implemented `PSR-2 coding standard` from all library PHP files.
  • Implemented `PHPCS` to ensure that PHP code complies with `PSR2` code standards.
  • Implemented `Codacy` to automates code reviews and monitors code quality over time.
  • Implemented `Codecov` to coverage reports.
  • Added `Asset/phpcs.ruleset.xml` file.
  • Deleted `Asset/src/bootstrap.php` file.
  • Deleted `Asset/tests/bootstrap.php` file.
  • Deleted `Asset/vendor` folder.
  • Deleted `Josantonius\Asset\Test\AssetTest` class.
  • Added `Asset/tests/css/style.css` file.
  • Added `Asset/tests/css/custom.css` file.
  • Added `Asset/tests/js/script.js` file.
  • Added `Asset/tests/js/custom.js` file.
  • Deleted `Josantonius\Asset\Asset::resource()` method.
  • Deleted `Josantonius\Asset\Asset::js()` method.
  • Deleted `Josantonius\Asset\Asset::css()` method.
  • Added `Josantonius\Asset\ScriptsTest` class.
  • Added `Josantonius\Asset\ScriptsTest->setUp()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScript()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptWithDeferAttribute()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptWithAsyncAttribute()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptInFooter()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptInHeader()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptAddingAllParams()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptWithoutName()` method.
  • Added `Josantonius\Asset\ScriptsTest->testAddScriptWithoutUrl()` method.
  • Added `Josantonius\Asset\ScriptsTest->testIfScriptsAddedCorrectly()` method.
  • Added `Josantonius\Asset\ScriptsTest->testRemoveAddedScripts()` method.
  • Added `Josantonius\Asset\ScriptsTest->testValidationAfterDeletion()` method.
  • Added `Josantonius\Asset\ScriptsTest->testOutputFooterScripts()` method.
  • Added `Josantonius\Asset\ScriptsTest->testOutputHeaderScripts()` method.
  • Added `Josantonius\Asset\ScriptsTest->testOutputWhenNotFooterScriptsLoaded()` method.
  • Added `Josantonius\Asset\ScriptsTest->testOutputWhenNotHeaderScriptsLoaded()` method.
  • Added `Josantonius\Asset\StylesTest` class.
  • Added `Josantonius\Asset\StylesTest->setUp()` method.
  • Added `Josantonius\Asset\StylesTest->testAddStyle()` method.
  • Added `Josantonius\Asset\StylesTest->testAddStyleWithVersion()` method.
  • Added `Josantonius\Asset\StylesTest->testAddStyleAddingAllParams()` method.
  • Added `Josantonius\Asset\StylesTest->testAddStyleWithoutName()` method.
  • Added `Josantonius\Asset\StylesTest->testAddStyleWithoutUrl()` method.
  • Added `Josantonius\Asset\StylesTest->testIfStylesAddedCorrectly()` method.
  • Added `Josantonius\Asset\StylesTest->testRemoveAddedStyles()` method.
  • Added `Josantonius\Asset\StylesTest->testValidationAfterDeletion()` method.
  • Added `Josantonius\Asset\StylesTest->testOutputStyles()` method.
  • Added `Josantonius\Asset\StylesTest->testOutputWhenNotStylesLoaded()` method.
  • Added `Josantonius\Asset\UnifyFilesTest` class.
  • Added `Josantonius\Asset\UnifyFilesTest->setUp()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testUnify()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testUnifySpecifyingDifferentUrlPaths()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testUnifyAndMinify()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testUnifyAndMinifySpecifyingDifferentUrlPaths()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testAddStylesAndScripts()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testIfStylesAndScriptsAddedCorrectly()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testOutputStylesAndScripts()` method.
  • Added `Josantonius\Asset\UnifyFilesTest->testIfUnifiedFilesWasCreated()` method.

1.1.4 - 2017-09-10

  • Unit tests supported by `PHPUnit` were added.
  • The repository was synchronized with `Travis CI` to implement continuous integration.
  • Type attributes were deleted from HTML tags. Since HTML5 doesn't longer necessary.
  • Added `Asset/src/bootstrap.php` file
  • Added `Asset/tests/bootstrap.php` file.
  • Added `Asset/phpunit.xml.dist` file.
  • Added `Asset/_config.yml` file.
  • Added `Asset/.travis.yml` file.
  • Deleted `Josantonius\Asset\Tests\AssetTest` class.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddOneCssFile()` method.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddMultipleCssFile()` method.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddOneJsFile()` method.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFile()` method.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddOneJsFileAttr()` method.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileAttr()` method.
  • Deleted `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileSameAttr()` method.
  • Added `Josantonius\Asset\Test\AssetTest` class.
  • Added `Josantonius\Asset\Test\AssetTest::testAddOneCssFile()` method.
  • Added `Josantonius\Asset\Test\AssetTest::testAddMultipleCssFile()` method.
  • Added `Josantonius\Asset\Test\AssetTest::testAddOneJsFile()` method.
  • Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFile()` method.
  • Added `Josantonius\Asset\Test\AssetTest::testAddOneJsFileAttr()` method.
  • Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFileAttr()` method.
  • Added `Josantonius\Asset\Test\AssetTest::testAddMultipleJsFileSameAttr()` method.

1.1.3 - 2017-07-15

  • Deleted `Josantonius\Asset\Exception\AssetException` class.
  • Deleted `Josantonius\Asset\Exception\Exceptions` abstract class.
  • Deleted `Josantonius\Asset\Exception\AssetException->__construct()` method.

1.1.2 - 2017-03-18

  • Some files were excluded from download and comments and readme files were updated.

1.1.1 - 2017-02-17

  • Added `Josantonius\Asset\Tests\AssetTest::testAddOneJsFileAttr()` method.
  • Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileAttr()` method.
  • Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFileSameAttr()` method.
  • Added `$attr` parameter in `Josantonius\Asset\Asset::resource()` method.
  • Added `$attr` parameter in `Josantonius\Asset\Asset::js()` method.

1.1.0 - 2017-01-30

  • Compatible with PHP 5.6 or higher.

1.0.0 - 2017-01-30

  • Compatible only with PHP 7.0 or higher. In the next versions, the library will be modified to make it compatible with PHP 5.6 or higher.

1.0.0 - 2016-12-14

  • Added `Josantonius\Asset\Asset` class.
  • Added `Josantonius\Asset\Asset::resource()` method.
  • Added `Josantonius\Asset\Asset::js()` method.
  • Added `Josantonius\Asset\Asset::css()` method.

1.0.0 - 2016-12-14

  • Added `Josantonius\Asset\Exception\AssetException` class.
  • Added `Josantonius\Asset\Exception\Exceptions` abstract class.
  • Added `Josantonius\Asset\Exception\AssetException->__construct()` method.

1.0.0 - 2016-12-14

  • Added `Josantonius\Asset\Tests\AssetTest` class.
  • Added `Josantonius\Asset\Tests\AssetTest::testAddOneCssFile()` method.
  • Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleCssFile()` method.
  • Added `Josantonius\Asset\Tests\AssetTest::testAddOneJsFile()` method.
  • Added `Josantonius\Asset\Tests\AssetTest::testAddMultipleJsFile()` method.