Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
dab10bf
Update for Symfony 4.1
Nov 14, 2018
2386563
Import Message, fixes #508
arnaud-lb Feb 9, 2019
93c654d
Merge pull request #509 from arnaud-lb/fix-508
goetas Feb 9, 2019
e501769
Test if filter exists before use
gnat42 May 14, 2019
2cf85c6
Merge pull request #510 from NobletSolutions/patch-jms
gnat42 May 14, 2019
7bdd5e2
Release v1.4.4
gnat42 May 14, 2019
4b291f2
Remove deprecated usage of TreeBuilder on Symfony 4
emodric Oct 4, 2019
a4eaed5
Fix root node name
emodric Oct 7, 2019
6bc3513
Merge pull request #513 from emodric/patch-1
goetas Oct 7, 2019
fa53c65
Merge pull request #504 from tilimac/master
goetas Oct 7, 2019
72760e0
Compile nodes before comparing them
greg0ire Feb 3, 2020
0f8dec9
Merge pull request #518 from greg0ire/fix-build
goetas Feb 6, 2020
829bba1
Address namespace change in Twig
greg0ire Feb 5, 2020
7b927b8
Merge pull request #519 from greg0ire/twig-3
goetas Feb 21, 2020
010f0e2
Drop support for symfony < 3.4 and < 4.3
franmomu Feb 8, 2020
5fb61ac
Use PHPUnit 8
franmomu Feb 8, 2020
9b6445c
normalize composer.json
franmomu Feb 8, 2020
d24d624
Merge pull request #520 from franmomu/drop_symfony_versions
goetas Feb 21, 2020
e5521c8
Remove duplicated packages
franmomu Feb 22, 2020
0cee3ab
Merge pull request #521 from franmomu/fix_composer
goetas Feb 22, 2020
5578ba0
Remove deprecated MessageSelector reference
franmomu Feb 28, 2020
2333055
Fix class names not corresponding to filenames
franmomu Feb 28, 2020
be045ce
Fix phpstorm findings on PHPUnit calls
franmomu Feb 28, 2020
712db2e
Test minimum requirements in Travis
franmomu Feb 28, 2020
1356f74
Bump twig to fix issues with PHP 7.4
franmomu Feb 28, 2020
7d8320a
Fix strict types calls
franmomu Feb 28, 2020
23d36d4
Merge pull request #524 from franmomu/test_lowest
goetas Mar 3, 2020
0cc936e
Merge pull request #523 from franmomu/cleanup_tests
goetas Mar 3, 2020
88efd77
Replace kernel.root_dir with kernel.project_dir
franmomu Feb 24, 2020
2f7fb19
Merge pull request #522 from franmomu/use_project_dir
goetas Mar 3, 2020
35d5c0a
Fix calls passing the right scalar type
franmomu Feb 29, 2020
ad4d19e
Fixing test reading and writing the same file
franmomu Mar 3, 2020
ba421a6
Allow Translation Contracts
franmomu Mar 4, 2020
13369ae
Merge pull request #528 from franmomu/allow_translation_contracts
goetas Mar 4, 2020
5fdbaf6
Merge pull request #526 from franmomu/fix_strict_calls
goetas Mar 4, 2020
487829f
Add Doctrine Coding Standards
franmomu Feb 28, 2020
a4ce736
Rename methods to camel caps
franmomu Mar 5, 2020
d5771bb
Extract assigment inside of if clauses
franmomu Mar 5, 2020
3c0db1e
Apply phpcbf
franmomu Mar 5, 2020
582094e
Do not extend commands from ContainerAwareCommand
franmomu Mar 4, 2020
dd939d0
Remove container from commands
franmomu Mar 5, 2020
e2f2e44
Merge pull request #525 from franmomu/doctrine_coding_stantards
goetas Mar 5, 2020
88450b4
Merge pull request #529 from franmomu/remove_command_deprecations
goetas Mar 6, 2020
c018d3c
Allow Symfony 5 and Twig 3
franmomu Mar 5, 2020
bfafd6c
Merge pull request #530 from franmomu/symfony5
goetas Mar 9, 2020
687f51f
Use array access for twig argument nodes
franmomu Mar 9, 2020
3290fbe
Merge pull request #531 from franmomu/not_use_node_index
goetas Mar 12, 2020
8960af2
Use ::class
franmomu Mar 13, 2020
a430ada
Apply CS
franmomu Mar 13, 2020
b1794e1
Merge pull request #532 from franmomu/apply_cs
goetas Mar 13, 2020
9c48e69
prepare 1.5.0 release
goetas Mar 15, 2020
36445be
Fixed object instead of string error introduced by strict_types
ViniTou Mar 17, 2020
524c44c
Fixed code style
ViniTou Mar 17, 2020
590ec3d
Added casting when building new FileResource from SplFile
ViniTou Mar 17, 2020
26d3061
Remove duplicated Changelog
franmomu Mar 17, 2020
4cf57e8
Merge pull request #533 from ViniTou/fixed-strict-types-for-file-reso…
goetas Mar 17, 2020
442ac7c
Fix casting int to string
franmomu Mar 19, 2020
162c4ae
Merge pull request #536 from franmomu/fix_strict_types
goetas Mar 19, 2020
50ee63b
Merge pull request #534 from franmomu/fix_changelog_name
goetas Mar 20, 2020
c634580
Update Updater.php
TheRatG Apr 3, 2020
2faa825
Merge pull request #538 from TheRatG/master
goetas Apr 4, 2020
b77674d
prepare 1.5.3 release
goetas Apr 19, 2020
745b3f2
test translation state is preserved for xliff
goetas Apr 21, 2020
a94d149
Merge pull request #540 from goetas/approved-translations
goetas Apr 21, 2020
9f60da1
prepare 1.5.4
goetas Apr 21, 2020
f29e6ff
do not depend in previous libxml state
goetas May 31, 2020
b15adee
Merge pull request #543 from goetas/xml-loader-state
goetas Jun 2, 2020
280610c
Issue #544
TheRatG Jun 27, 2020
b9a6be8
Update FormExtractor.php
TheRatG Jun 27, 2020
15162b1
Merge pull request #545 from TheRatG/master
goetas Jun 27, 2020
60d2d13
Added support to extract translations from form constraints
balazscsaba Aug 6, 2020
a0eb53a
Fixed cs errors
balazscsaba Aug 6, 2020
b5c84d2
Merge pull request #546 from balazscsaba2006/master
goetas Aug 13, 2020
05ab646
Update FormExtractor.php
TheRatG Oct 9, 2020
16698b0
Add the option to dump files to the ICU message format
mark-gerarts Oct 15, 2020
e600a8e
Update FormExtractor.php
TheRatG Oct 15, 2020
0cc78ce
Merge pull request #549 from TheRatG/master
goetas Oct 22, 2020
e7f96c6
Add FileUtils tests
mark-gerarts Oct 24, 2020
2b3a952
Merge pull request #551 from mark-gerarts/feature-intl-icu
goetas Nov 8, 2020
7530a79
Use composer v1
goetas Dec 13, 2020
75c3c82
there is no need for source package
goetas Dec 13, 2020
a15c54d
Merge pull request #555 from goetas/use-composer-v1
goetas Dec 13, 2020
be11316
Prevent any Form Constraint option which is not a message from being …
Dec 10, 2020
de63a3e
Merge pull request #554 from nfragnet/fix-553
goetas Dec 13, 2020
47863a5
Fix build
VincentLanglet Jan 12, 2021
54dd0d6
Allow php8
VincentLanglet Jan 12, 2021
4653021
Update coding standard
VincentLanglet Jan 12, 2021
f69c6dd
Fix php8 build
VincentLanglet Jan 12, 2021
a83dfa8
Merge pull request #556 from VincentLanglet/php8
goetas Jan 12, 2021
399e19a
Prepare 1.6
goetas Jan 16, 2021
ccaa1c9
ValidationContext extractor
artursvonda Jan 18, 2016
bd26950
`choice_translation_domain` extractor
artursvonda Jan 17, 2016
028e895
Handle placeholder attribute better
artursvonda Dec 6, 2016
6b2d596
Merge remote-tracking branch 'origin/master'
TamasSzigeti Feb 26, 2021
4e24852
Added gitattributes - exclude docs, tests from archive
iamvar Mar 8, 2021
e609c5b
Merge pull request #557 from iamvar/gitattributes
goetas Mar 21, 2021
334336f
Remove translation file if all translations removed (#1)
michealmouner Mar 23, 2021
fcc9a69
Added template name and line number to exception thrown by DefaultApp…
adamwojs May 2, 2021
4883c2e
Merge pull request #559 from adamwojs/patch-1
goetas May 2, 2021
dfc28a1
Update FormExtractor.php
TheRatG May 11, 2021
60e9123
Fix --intl-icu option
adriendupuis Jul 28, 2021
62af3d9
fix: require symfony/expression-language
qkdreyer Nov 26, 2021
9d8df7f
Merge pull request #563 from qkdreyer/patch-1
goetas Nov 26, 2021
abb7df8
Merge pull request #560 from octava/master
goetas Feb 15, 2022
f6315e3
Fallback to 'messages' domain when domain is null in trans|transchoic…
deguif Apr 14, 2022
69b75af
Merge pull request #566 from deguif/translator-null-domain
goetas Apr 18, 2022
dcb3b71
Support named argument for extracting domain
deguif Sep 7, 2022
6a8b833
Bump nikic/php-parser to ^4.9
deguif Sep 14, 2022
65891c6
Add attributes for routes
deguif Sep 14, 2022
cc4301d
Allow to use translate controller without sensio/framework-extra-bundle
deguif Sep 14, 2022
eaa5ee8
Merge pull request #567 from deguif/trans-domain-named-argument
goetas Sep 23, 2022
7f28acd
resolved deprecation notice with Symfony 5.4
TomasLudvik Dec 13, 2022
153f4c9
Merge pull request #570 from TomasLudvik/patch-1
goetas Dec 14, 2022
bf2628f
Merge pull request #569 from deguif/get-rid-of-template-sensio-framew…
goetas Dec 19, 2022
3adddc2
github actions, testing and coding standard, drop symfony 3.4 support
goetas Jan 7, 2023
619e880
Merge pull request #572 from schmittjoh/actions
goetas Jan 7, 2023
ae5a2e1
symfony 6 support
goetas Jan 7, 2023
1d73855
Merge pull request #573 from schmittjoh/sf6
goetas Jan 7, 2023
b117e81
Merge pull request #561 from adriendupuis/patch-1
goetas Jan 17, 2023
6b69940
Handle properly promoted constructor properties default values
deguif Jan 30, 2023
9250ed8
Merge pull request #574 from deguif/promoted-properties
goetas Jan 30, 2023
1a0aefc
Fix #575: Remove deprecation notices with string interpolation
HenkerX64 Mar 27, 2023
42655d8
Merge pull request #577 from HenkerX64/fix-issue-575
goetas Mar 27, 2023
721bd83
Merge pull request #578 from schmittjoh/1.x
goetas Mar 29, 2023
7b58e8b
add void return signatures
delboy1978uk Sep 26, 2023
355cf5e
Merge pull request #580 from delboy1978uk/feature/deprecation-fixes
goetas Sep 26, 2023
14749a2
chore: fix coding style
deguif Dec 11, 2023
6724d7b
Merge pull request #583 from deguif/fix-cs
goetas Dec 12, 2023
6a3f801
Merge pull request #568 from deguif/route-attributes
goetas Dec 12, 2023
85b0a91
fix: fix wrong return type-hint depending on which symfony/translatio…
deguif Dec 11, 2023
2954a9d
chore: bump symfony version for tests
deguif Dec 12, 2023
da38bd0
Merge pull request #582 from deguif/fix-wrong-contracts
goetas Dec 12, 2023
61ccb02
chore(deps): upgrade nikic/php-parser@^5
qkdreyer Jan 8, 2024
ad89a56
Merge pull request #584 from qkdreyer/nikic-php-parser-5
goetas Feb 6, 2024
23705e5
fix: prevent type error on choices array with optional keys
qkdreyer Feb 26, 2024
5aa1771
chore: fix phpcs + nikic/php-parser@4 compatibility
qkdreyer Feb 26, 2024
97bb596
Merge pull request #585 from qkdreyer/master
goetas Mar 11, 2024
19b2021
Merge remote-tracking branch 'upstream/master'
michealmouner Apr 12, 2024
b1723ef
Fix tests
michealmouner Apr 12, 2024
b5b283d
tests + ecs
michealmouner Apr 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/CHANGELOG.md export-ignore
/CONTRIBUTING.md export-ignore
/README.md export-ignore
/Tests export-ignore
/phpunit.xml.dist export-ignore
61 changes: 61 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# yamllint disable rule:line-length
# yamllint disable rule:braces

name: CI

on:
pull_request:
push:
branches:
- "master"

jobs:
phpunit:
name: "PHPUnit"
runs-on: "ubuntu-20.04"

strategy:
fail-fast: false
matrix:
symfony-version:
- '^4.4'
- '^5.4'
- '^6.4'
php-version:
- "7.4"
- "8.0"
- "8.1"
dependencies:
- "lowest"
- "highest"
exclude:
- symfony-version: '^6.4'
php-version: '7.4'
steps:
- name: "Checkout"
uses: "actions/checkout@v2"
with:
fetch-depth: 2

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "${{ matrix.php-version }}"
coverage: "pcov"
ini-values: "zend.assertions=1"

- name: Configure symfony version
uses: php-actions/composer@v6
with:
command: config
args: extra.symfony.require ${{ matrix.symfony-version }}

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"
with:
dependency-versions: "${{ matrix.dependencies }}"
composer-options: "${{ matrix.composer-options }}"

- name: Run tests
run: |
SYMFONY_DEPRECATIONS_HELPER=weak vendor/bin/simple-phpunit ${PHPUNIT_FLAGS}
35 changes: 35 additions & 0 deletions .github/workflows/coding-standards.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: "Coding Standards"

on:
pull_request:
push:
branches:
- "master"

jobs:
coding-standards:
name: "Coding Standards"
runs-on: "ubuntu-20.04"

strategy:
matrix:
php-version:
- "7.4"

steps:
- name: "Checkout"
uses: "actions/checkout@v2"

- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
coverage: "none"
php-version: "${{ matrix.php-version }}"
tools: "cs2pr"
extensions: pdo_sqlite

- name: "Install dependencies with Composer"
uses: "ramsey/composer-install@v1"

- name: "Run PHP_CodeSniffer"
run: "vendor/bin/phpcs"
39 changes: 39 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,42 @@
phpunit.xml
composer.lock
vendor/
.phpunit.result.cache
/.idea
.phpcs-cache
phpcs.xml


/bin/
/config/
/public/
/src/
/templates
/tests
/translations
/var/
/.env*
/.phpunit.result.cache

.idea/
/symfony.lock

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/public/bundles/
/var/
/vendor/
###< symfony/framework-bundle ###

###> squizlabs/php_codesniffer ###
/.phpcs-cache
/phpcs.xml
###< squizlabs/php_codesniffer ###

###> symfony/phpunit-bridge ###
.phpunit.result.cache
/phpunit.xml
###< symfony/phpunit-bridge ###
62 changes: 0 additions & 62 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions Annotation/Desc.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* Copyright 2011 Johannes M. Schmitt <schmittjoh@gmail.com>
*
Expand Down
2 changes: 2 additions & 0 deletions Annotation/Ignore.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* Copyright 2011 Johannes M. Schmitt <schmittjoh@gmail.com>
*
Expand Down
5 changes: 2 additions & 3 deletions Annotation/Meaning.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

/*
* Copyright 2011 Johannes M. Schmitt <schmittjoh@gmail.com>
*
Expand Down Expand Up @@ -30,9 +32,6 @@ final class Meaning
/** @var string @Required */
public $text;

/**
* Meaning constructor.
*/
public function __construct()
{
if (0 === func_num_args()) {
Expand Down
Loading