From e77b0f6a94694ff52f66bff1ed94515234ac040a Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 9 Jul 2024 10:07:05 +0900 Subject: [PATCH 1/4] Add PHP class diagram HTML page A new HTML page for the PHP class diagram has been added, providing a better view of the diagram. Simultaneously, the existing link in the README.md has been updated to point to this new HTML page instead of directly to the SVG file. --- README.md | 4 +++- docs/php-class-diagram.html | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 docs/php-class-diagram.html diff --git a/README.md b/README.md index ec51948f..cc743a3e 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,9 @@ SevericeLocator::setReader(new AttributeReader);` ## Technical Information -* [Class Diagram](https://ray-di.github.io/Ray.Aop/images/php-class-diagram.svg) - Class interrelationship diagram created by [php-class-diagram](https://github.com/smeghead/php-class-diagram). +For more detailed technical information, please refer to the following resources: + +* [Class Diagram](https://ray-di.github.io/Ray.Aop/images/php-class-diagram.html) --- diff --git a/docs/php-class-diagram.html b/docs/php-class-diagram.html new file mode 100644 index 00000000..e613e8fb --- /dev/null +++ b/docs/php-class-diagram.html @@ -0,0 +1,17 @@ + + + Ray.Aop Class Diagram + + + . + + + + + + From bba6d334d4861d53c396170ccde346d192ae631a Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 9 Jul 2024 10:24:57 +0900 Subject: [PATCH 2/4] Install Composer dependencies without dev packages in PECL test Updated the Continuous Integration script to install Composer dependencies excluding dev packages. This change is reflected in the continuous-integration-pecl.yml file, resulting in a cleaner, production-ready environment setup during CI workflow. --- .github/workflows/continuous-integration-pecl.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous-integration-pecl.yml b/.github/workflows/continuous-integration-pecl.yml index ae0f6d97..7ac7c53e 100644 --- a/.github/workflows/continuous-integration-pecl.yml +++ b/.github/workflows/continuous-integration-pecl.yml @@ -30,7 +30,7 @@ jobs: sudo apt-get install -y autoconf automake libtool bison re2c valgrind - name: Install Composer dependencies - run: composer install --prefer-dist --no-progress + run: composer install --no-dev --prefer-dist --no-progress - name: Build extension id: build_extension From 527f745b4f22360830ea67c0e21cdec4b27f34a3 Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 9 Jul 2024 10:25:51 +0900 Subject: [PATCH 3/4] The list item should use a dash Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cc743a3e..13b1cd22 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,7 @@ SevericeLocator::setReader(new AttributeReader);` For more detailed technical information, please refer to the following resources: -* [Class Diagram](https://ray-di.github.io/Ray.Aop/images/php-class-diagram.html) +- [Class Diagram](https://ray-di.github.io/Ray.Aop/images/php-class-diagram.html) --- From ef64d962dbfa05e64f5a9077f00835f61a11d51f Mon Sep 17 00:00:00 2001 From: Akihito Koriyama Date: Tue, 9 Jul 2024 10:29:41 +0900 Subject: [PATCH 4/4] Add PHPUnit installation to workflow This commit includes PHPUnit as a part of the CI build process. The aim is to facilitate easier and more efficient testing by automatically installing PHPUnit in the continuous integration workflow. --- .github/workflows/continuous-integration-pecl.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous-integration-pecl.yml b/.github/workflows/continuous-integration-pecl.yml index 7ac7c53e..496ea908 100644 --- a/.github/workflows/continuous-integration-pecl.yml +++ b/.github/workflows/continuous-integration-pecl.yml @@ -32,6 +32,9 @@ jobs: - name: Install Composer dependencies run: composer install --no-dev --prefer-dist --no-progress + - name: Install PHPUnit + run: composer require phpunit/phpunit --dev --prefer-dist --no-progress + - name: Build extension id: build_extension run: |