Commit adade977 authored by Jakub Konečný's avatar Jakub Konečný

updated dependencies

parent 62b1af92
Pipeline #43577048 passed with stage
in 1 minute and 8 seconds
Copyright (c) 2016-2018, Jakub Konečný
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the organization nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL the copyright holder BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
Copyright (c) 2016-2019, Jakub Konečný
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of the organization nor the
names of its contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL the copyright holder BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
\ No newline at end of file
This diff is collapsed.
......@@ -15,3 +15,5 @@ parameters:
- '#Cannot cast Nexendrie\\Translation\\[a-zA-Z0-9\\_]+ to string#'
- '#Parameter \#1 \$instance of function class_parents expects object\|string, string\|null given#'
- '#Parameter \#1 \$what of function class_implements expects object\|string, string\|null given#'
- '#Variable property access on Nette\\Http\\SessionSection#'
- '#Parameter \#[0-9] (\$message|\$count) \((string|int)\) of method Nexendrie\\Translation\\Translator::translate\(\) should be contravariant with parameter (\$message|\$count) \(mixed\) of method Nette\\Localization\\ITranslator::translate\(\)#'
......@@ -10,7 +10,6 @@ namespace Nexendrie\Translation\Loaders;
* @author Jakub Konečný
*/
class IniLoader extends FileLoader {
/** @var string */
protected $extension = "ini";
protected function parseFile(string $filename): array {
......
......@@ -12,7 +12,6 @@ use Nette\Utils\Json;
* @author Jakub Konečný
*/
class JsonLoader extends FileLoader {
/** @var string */
protected $extension = "json";
/**
......
......@@ -12,7 +12,6 @@ use Nette\Neon\Neon;
* @author Jakub Konečný
*/
class NeonLoader extends FileLoader {
/** @var string */
protected $extension = "neon";
protected function parseFile(string $filename): array {
......
......@@ -10,7 +10,6 @@ namespace Nexendrie\Translation\Loaders;
* @author Jakub Konečný
*/
class PhpLoader extends FileLoader {
/** @var string */
protected $extension = "php";
protected function parseFile(string $filename): array {
......
......@@ -12,7 +12,6 @@ use Symfony\Component\Yaml\Yaml;
* @author Jakub Konečný
*/
class YamlLoader extends FileLoader {
/** @var string */
protected $extension = "yaml";
protected function parseFile(string $filename): array {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment