Skip to content

Commit

Permalink
(chore) cleans up project structure and removes symbolic links usage
Browse files Browse the repository at this point in the history
  • Loading branch information
daniele-orlando committed Nov 8, 2023
1 parent 95a0251 commit c917e1d
Show file tree
Hide file tree
Showing 37 changed files with 555 additions and 531 deletions.
1 change: 0 additions & 1 deletion .codeclimate.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
engines:
duplication:
enabled: true
config:
languages:
- php
fixme:
enabled: true
phpmd:
enabled: true
ratings:
paths:
- "**.php"
exclude_paths: []
1 change: 0 additions & 1 deletion .coveralls.yml

This file was deleted.

1 change: 1 addition & 0 deletions .coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
repo_token: c1DEnhEDEsdeHDUepRI24RibVJ6yDw2kN
1 change: 0 additions & 1 deletion .editorconfig

This file was deleted.

27 changes: 27 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# editorconfig.org

root = true

[*]
indent_style = space
indent_size = 8
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.txt]
indent_size = 2

[*.md]
indent_size = 2
trim_trailing_whitespace = false

[*.html]
indent_size = 4

[*.json]
indent_size = 4

[*.yml]
indent_size = 4
11 changes: 6 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
documents/api/
private/
sandbox/
composer.lock
.idea
/.idea
/*.code-workspace
/composer.lock
/doc/api/
/private/
/sandbox/
1 change: 0 additions & 1 deletion .scrutinizer.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
build:
environment:
php:
version: 8.1.24
tests:
override:
-
command: ./support/init && ./support/test && ./support/coverage clover-code-coverage
coverage:
file: 'sandbox/code-coverage-report/clover.xml'
format: 'php-clover'
cache:
directories:
- sandbox/composer/
filter:
paths:
- source/
excluded_paths:
- sandbox/
- specs/
- support/
1 change: 0 additions & 1 deletion .travis.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
language: php
php:
- 8.1
- 8.2
cache:
directories:
- sandbox/composer/
install:
- composer self-update
- git config --global github.accesstoken 21fd5f444e024f66f292461ca7ea7243f63a200d
- ./support/init
script:
- ./support/test
after_script:
- ./support/coveralls "$TRAVIS_JOB_ID"
notifications:
email: false
1 change: 0 additions & 1 deletion .vimrc

This file was deleted.

7 changes: 7 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"set wildignore+=sandbox/**

if ! exists('g:CommandTWildIgnore')
let g:CommandTWildIgnore=''
endif

let g:CommandTWildIgnore.=",sandbox/**"
53 changes: 33 additions & 20 deletions documents/Changelog.txt → CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
[+]: new [~]: changed [-]: removed [#]: fixed [@]: internal
[~]: Changed [+]: Added [-]: Removed [#]: Fixed [$]: Internal

2.0.0: (2023-11-06)
bump support and syntax changes to PHP 8.1+
PHP 8.1 is the new minimum required version.

[~] Changed:
* PHP 8.1 is the minimum required version.

Thanks to @nicekiwi for his awesome PR.


1.21.0: (2017-01-31)
Introduces the '->map()' method and the CSS 'any namespace' (*|tag) selector.

[+] Added:
* ->map() is part of the family.
* *|tag is a recognized CSS selector.

Thanks to @alepeino for his great PR.

[~] Changed:
* PHP 8.1+ is the minimum version.

1.20.3: (2016-07-12)
fixes wrong handling of null/empty node value.
Expand All @@ -23,7 +36,7 @@ fixes some leaked PHP notices.
1.20.1:
internal cleanup.

[@] Internal:
[$] Internal:
* refactoring.


Expand All @@ -35,7 +48,7 @@ growth, some notable additions like the ->filter() method to programmatically
filter the query results and ->html() to output the document as valid HTML 5 string.
Just because awesomenesses are never enough, ->query() supports CSS Selectors.

[+] New:
[+] Added:
* ->html() is part of the family.
* ->filter() is part of the family.
* ->comment() is part of the family.
Expand Down Expand Up @@ -65,7 +78,7 @@ Just because awesomenesses are never enough, ->query() supports CSS Selectors.
* ->insertSiblingBefore() has been removed superseded by ->prependSibling().
* ->insertSiblingAfter() has been removed superseded by ->appendSibling().

[@] Internal:
[$] Internal:
* PSR-0/4 compliance.
* FluidXml.php is still there for people not using Composer/PSR-0/4 loaders.
* refactoring.
Expand All @@ -74,42 +87,42 @@ Just because awesomenesses are never enough, ->query() supports CSS Selectors.
1.13: (2016-01-24)
introduces the '->save()' method.

[+] New:
[+] Added:
* ->save() is part of the family.


1.12.4:
internal cleanup.

[@] Internal:
[$] Internal:
* cleanup.


1.12.3:
refactoring improving the code design.

[@] Internal:
[$] Internal:
* refactoring.


1.12.2:
internal refactoring and performance regression fix.

[@] Internal:
[$] Internal:
* refactoring. Performances are normal.


1.12.1:
'->times()' and '->each()' are bound to the context. $this behaves as expected.

[@] Internal:
[$] Internal:
* refactoring. Performances are worst but code is much better.


1.12:
introduces the '->times()' method.

[+] New:
[+] Added:
* ->times() is part of the family.


Expand All @@ -127,19 +140,19 @@ text content when adding elements using an array.
introduces the '->each()' method and the '->setCdata()'/'->cdata()' twins
methods together with an internal refactoring.

[+] New:
[+] Added:
* ->each() is part of the family.
* ->setCdata() is part of the family.
* ->cdata() is part of the family.

[@] Internal:
[$] Internal:
* refactoring.


1.9:
wraps classes and functions under the FluidXml namespace.

[+] New:
[+] Added:
* FluidXml namespace wraps classes and functions.


Expand Down Expand Up @@ -186,15 +199,15 @@ lowers the minimum PHP version to PHP 5.6 (it was PHP 7).
[~] Changed:
* PHP 5.6 is the minimum version.

[@] Internal:
[$] Internal:
* cleanup.


1.5:
introduces support for importing XML documents from DOMDocument, SimpleXMLElement,
XML strings and XML files.

[+] New:
[+] Added:
* fluidify() is part of the family.
* FluidXml::new() is part of the family.
* FluidXml::load() is part of the family.
Expand All @@ -207,7 +220,7 @@ improves the removal of nodes.
* ->remove() can remove the results of a query and accepts multiple XPath strings.


2.0:
1.3:
helps customizing the root element of a document.

[~] Changed:
Expand All @@ -233,7 +246,7 @@ fixes a notice error.
1.1:
introduces the XML namespaces support.

[+] New:
[+] Added:
* ->namespace() is part of the family.
* ->namespaces() is part of the family.
* FluidNamespace is part of the family.
Expand Down
2 changes: 1 addition & 1 deletion documents/License.txt → LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2016, Daniele Orlando <fluidxml(at)danieleorlando.com>
Copyright (c) 2016, Daniele Orlando <fluidxml(at)danieleorlando.io>
All rights reserved.

Redistribution and use in source and binary forms, with or without modification,
Expand Down
1 change: 0 additions & 1 deletion README.md

This file was deleted.

Loading

0 comments on commit c917e1d

Please sign in to comment.