diff --git a/.travis.yml b/.travis.yml index f7edf14..9f10dff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,7 @@ language: php +sudo: false + php: - 5.3 - 5.4 @@ -14,9 +16,13 @@ matrix: - php: 7.0 fast_finish: true +cache: + directories: + - $HOME/.composer/cache + before_script: - composer self-update - - composer install --prefer-source --no-interaction + - composer install --prefer-dist --no-interaction script: - - phpunit + - vendor/bin/phpunit diff --git a/Behavioral/Specification/Plus.php b/Behavioral/Specification/Plus.php index c4ad546..4bbecc1 100644 --- a/Behavioral/Specification/Plus.php +++ b/Behavioral/Specification/Plus.php @@ -11,7 +11,7 @@ class Plus extends AbstractSpecification protected $right; /** - * Creation of a locical AND of two specifications + * Creation of a logical AND of two specifications * * @param SpecificationInterface $left * @param SpecificationInterface $right diff --git a/README.md b/README.md index efe31ac..0d9e054 100755 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # DesignPatternsPHP -[![Build Status](https://travis-ci.org/domnikl/DesignPatternsPHP.png?branch=master)](https://travis-ci.org/domnikl/DesignPatternsPHP) +[![Build Status](https://travis-ci.org/domnikl/DesignPatternsPHP.svg?branch=master)](https://travis-ci.org/domnikl/DesignPatternsPHP) [Read the Docs of DesignPatternsPHP](http://designpatternsphp.readthedocs.org) or [Download as PDF/Epub](https://readthedocs.org/projects/designpatternsphp/downloads/) diff --git a/Structural/Registry/README.rst b/Structural/Registry/README.rst index 9de8029..8a92604 100644 --- a/Structural/Registry/README.rst +++ b/Structural/Registry/README.rst @@ -11,7 +11,7 @@ static methods (or using the Singleton pattern) Examples -------- -- Zend Framework: ``Zend_Registry`` holds the application's logger +- Zend Framework 1: ``Zend_Registry`` holds the application's logger object, front controller etc. - Yii Framework: ``CWebApplication`` holds all the application components, such as ``CWebUser``, ``CUrlManager``, etc. diff --git a/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po b/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po index 169e8fd..21a201b 100644 --- a/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/Delegation/README.po @@ -29,7 +29,7 @@ msgstr "" #: ../../More/Delegation/README.rst:15 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../More/Delegation/README.rst:22 msgid "Code" diff --git a/locale/pt_BR/LC_MESSAGES/More/README.po b/locale/pt_BR/LC_MESSAGES/More/README.po index c3585d8..454e09c 100644 --- a/locale/pt_BR/LC_MESSAGES/More/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/README.po @@ -13,4 +13,4 @@ msgstr "" #: ../../More/README.rst:2 msgid "More" -msgstr "" +msgstr "Outros" diff --git a/locale/pt_BR/LC_MESSAGES/More/Repository/README.po b/locale/pt_BR/LC_MESSAGES/More/Repository/README.po index d9ecc90..7439b93 100644 --- a/locale/pt_BR/LC_MESSAGES/More/Repository/README.po +++ b/locale/pt_BR/LC_MESSAGES/More/Repository/README.po @@ -28,10 +28,16 @@ msgid "" "also supports the objective of achieving a clean separation and one-way " "dependency between the domain and data mapping layers." msgstr "" +"Faz a mediação entre o domínio e as camadas de mapeamento de dados usando uma coleção de " +"interfaces para acessar os objetos de domínio. Repositóros encapsulam um conjunto de " +"objetos persistidos em um data store e as operações feitas sobre eles, " +"provendo uma visão mais orientada a objetos da camada de persistência. Repositorio " +"também apóia o objetivo de alcançar uma separação limpa e uma dependencia unidirecional " +"entre o domínio e as camadas de mapeamento de dados." #: ../../More/Repository/README.rst:16 msgid "Examples" -msgstr "" +msgstr "Exemplos" #: ../../More/Repository/README.rst:18 msgid "" @@ -41,19 +47,19 @@ msgstr "" #: ../../More/Repository/README.rst:20 msgid "Laravel Framework" -msgstr "" +msgstr "Framework Laravel" #: ../../More/Repository/README.rst:23 msgid "UML Diagram" -msgstr "" +msgstr "Diagrama UML" #: ../../More/Repository/README.rst:30 msgid "Code" -msgstr "" +msgstr "Código" #: ../../More/Repository/README.rst:32 msgid "You can also find these code on `GitHub`_" -msgstr "" +msgstr "Você também pode encontrar esse código no `GitHub`_" #: ../../More/Repository/README.rst:34 msgid "Post.php" diff --git a/locale/ru/LC_MESSAGES/Behavioral/README.po b/locale/ru/LC_MESSAGES/Behavioral/README.po index 1726bb0..38ef9ce 100644 --- a/locale/ru/LC_MESSAGES/Behavioral/README.po +++ b/locale/ru/LC_MESSAGES/Behavioral/README.po @@ -12,8 +12,8 @@ msgstr "" "Language: ru\n" #: ../../Behavioral/README.rst:2 -msgid "Behavioral" -msgstr "`Поведенческие шаблоны проектирования `_ (Behavioral)" +msgid "`Behavioral`__" +msgstr "`Поведенческие шаблоны проектирования `_ (`Behavioral`__)" #: ../../Behavioral/README.rst:4 msgid "" diff --git a/locale/ru/LC_MESSAGES/Creational/README.po b/locale/ru/LC_MESSAGES/Creational/README.po index 9a8358a..2827f03 100644 --- a/locale/ru/LC_MESSAGES/Creational/README.po +++ b/locale/ru/LC_MESSAGES/Creational/README.po @@ -12,8 +12,8 @@ msgstr "" "Language: ru\n" #: ../../Creational/README.rst:2 -msgid "Creational" -msgstr "Порождающие шаблоны проектирования (Creational)" +msgid "`Creational`__" +msgstr "Порождающие шаблоны проектирования (`Creational`__)" #: ../../Creational/README.rst:4 msgid "" diff --git a/locale/ru/LC_MESSAGES/Structural/README.po b/locale/ru/LC_MESSAGES/Structural/README.po index 9b82984..fc6965f 100644 --- a/locale/ru/LC_MESSAGES/Structural/README.po +++ b/locale/ru/LC_MESSAGES/Structural/README.po @@ -12,10 +12,10 @@ msgstr "" "Language: ru\n" #: ../../Structural/README.rst:2 -msgid "Structural" +msgid "`Structural`__" msgstr "" "`Структурные шаблоны проектирования ` (Structural)" +"Структурные_шаблоны_проектирования>`_ (`Structural`__)" #: ../../Structural/README.rst:4 msgid ""