Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Translator and various other improvements and corrections for version 2 of the component framework #40

Merged
merged 55 commits into from Jun 26, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
6ce5a87
bootstrap with harikt's help
cordoval May 26, 2014
0342e15
adding some harikt comments
cordoval May 26, 2014
71dba95
plug mock of factory
cordoval May 26, 2014
e34610a
fix autoload.php with right class name for filter
cordoval May 26, 2014
2ee9490
sketching to return a rule collection as factory produce
cordoval May 26, 2014
ed9dc51
move autoload outside src folder
cordoval May 26, 2014
93a6ce1
remove the translator
cordoval May 26, 2014
9012928
plug phpunit on dev and try to bootstrap it
cordoval May 26, 2014
1b0a199
plug scripts for development
cordoval May 26, 2014
5fcf8f4
remove some more translation stuff
cordoval May 26, 2014
e8e5586
another proper move
cordoval May 26, 2014
d3b4d60
make tests active
cordoval May 26, 2014
c87ef04
skipping a couple and tests are running now
cordoval May 26, 2014
50fbc37
fix tests without translator
cordoval May 26, 2014
679a7e4
fix cs
cordoval May 26, 2014
ffb234d
adapt the readme a bit
cordoval May 26, 2014
ef4d35a
adjust readme some more
cordoval May 26, 2014
adf01f6
fixing travis
cordoval May 26, 2014
4f8c9b5
fix travis tests
cordoval May 26, 2014
9517d64
remove translator related definitions from config
cordoval May 26, 2014
682d6e0
fixing cs
cordoval May 26, 2014
512ebe5
plug registry
cordoval May 26, 2014
a95f1e0
start unskipping tests
cordoval May 26, 2014
665b714
plug ladybug and ignore composer.lock
cordoval May 26, 2014
f37541b
fix tests
cordoval May 26, 2014
7e1abad
remove commented line
cordoval May 26, 2014
bb334dc
removing PSR-0 reference from README.md not needed as per Harikt comm…
cordoval May 28, 2014
02e5da6
remove ladybug and phpunit
cordoval May 28, 2014
a0feab1
changing type of method registry() from static to regular
cordoval May 28, 2014
99360bc
removing bldr and dev scripts
cordoval May 28, 2014
b0c4aa3
moving to a src folder inside tests
cordoval May 28, 2014
7ed7065
removing legacy src.php file
cordoval May 28, 2014
0b0ac33
adapting .travis and adding .scrutinizer.yml
cordoval May 28, 2014
f76c079
some tweaks on license years and updated composer.json library
cordoval May 28, 2014
960f538
reuse the autoload.php on root project directory for tests
cordoval May 28, 2014
14c9fd0
fix favoring scrutinizer
cordoval May 28, 2014
982181e
adding missing inconsistent commas
cordoval May 28, 2014
2b4be31
Add the new structure
harikt Jun 6, 2014
d633386
Merge pull request #1 from harikt/readme
cordoval Jun 6, 2014
fb80a60
FilterFactory not FactoryFilter
harikt Jun 6, 2014
e351699
Merge pull request #2 from harikt/typo
cordoval Jun 6, 2014
2631468
add a note on not needing composer install for running test suite
cordoval Jun 16, 2014
8c8f3af
some corrections to the readme.md
cordoval Jun 16, 2014
4e1e832
removing translator and its interface
cordoval Jun 16, 2014
d724568
remove translated messages from the example in the readme.md
cordoval Jun 16, 2014
6271dcf
fixing some spacing
cordoval Jun 16, 2014
064280c
more spacing
cordoval Jun 16, 2014
dd7a8a5
run php-cs-fixer an all codebase
cordoval Jun 16, 2014
c26862a
address comments from harikt
cordoval Jun 16, 2014
050d937
minor nested php docblock adjustment
cordoval Jun 16, 2014
304ae77
allow bool in setValue abstract
cordoval Jun 16, 2014
b66cbe9
placing some inheritdocs
cordoval Jun 16, 2014
c272cc0
fix typehint of params to be an array rather than a string
cordoval Jun 16, 2014
968a72b
scrutinizer adviced to type check it in case of null
cordoval Jun 16, 2014
af1f459
adding branch alias
cordoval Jun 18, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
@@ -1 +1,4 @@
tests/tmp
/tests/tmp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question, I tested this and it is working as expected. But is there any difference with / in front and without.

See tests/tmp and /tests/tmp . The / makes me think like root of Linux, but now I am getting to root of git.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the / up front basically will ignore only /file so the rood project file named file and not nested instances which is more specific

/vendor
/build
/composer.lock
21 changes: 21 additions & 0 deletions .scrutinizer.yml
@@ -0,0 +1,21 @@
tools:
php_code_coverage:
test_command: "phpunit -c tests/"
filter:
paths: ["src/*"]
php_sim:
enabled: true
filter:
paths: ["src/*"]
php_mess_detector:
enabled: true
filter:
paths: ["src/*"]
php_pdepend:
enabled: true
filter:
paths: ["src/*"]
php_analyzer:
enabled: true
filter:
paths: ["src/*"]
8 changes: 2 additions & 6 deletions .travis.yml
Expand Up @@ -2,12 +2,8 @@ language: php
php:
- 5.4
- 5.5
- hhvm

matrix:
allow_failures:
- php: hhvm

before_script:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hhvm not working?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i just don't think we should test against something that fails and that is not fully working, we either remove it or remove the allow_failtures cc @pmjones

- cd tests
script: phpunit
notifications:
irc: "irc.freenode.org#auraphp"
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Copyright (c) 2011-2013, Aura for PHP
Copyright (c) 2011-2014, The Aura Project for PHP
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down