[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#67902] [PATCH v4 48/98] gnu: Add php-sebastian-lines-of-code.
From: |
Nicolas Graves |
Subject: |
[bug#67902] [PATCH v4 48/98] gnu: Add php-sebastian-lines-of-code. |
Date: |
Mon, 7 Oct 2024 23:44:16 +0200 |
* gnu/packages/php-xyz.scm (php-sebastian-lines-of-code): New variable.
Change-Id: Ifb0a4e00fab18c53a495d6816d2b0de19389b661
---
gnu/packages/php-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/php-xyz.scm b/gnu/packages/php-xyz.scm
index 09fc22acb3..d474d2b0cf 100644
--- a/gnu/packages/php-xyz.scm
+++ b/gnu/packages/php-xyz.scm
@@ -1179,3 +1179,34 @@ (define-public php-sebastian-global-state
(home-page "https://github.com/sebastianbergmann/global-state")
(license license:bsd-3)))
+(define-public php-sebastian-lines-of-code
+ (package
+ (name "php-sebastian-lines-of-code")
+ (version "2.0.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sebastianbergmann/lines-of-code")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j5yk9565mh4s46735jlqiz9kxwgxai7g0a0x802alhv9qjpm5p6"))))
+ (build-system composer-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'remove-failing-tests
+ (lambda _
+ (delete-file "tests/unit/LineCountingVisitorTest.php"))))))
+ (native-inputs
+ (list php-phpunit-phpunit))
+ (inputs
+ (list php-nikic-php-parser))
+ (synopsis "Count PHP source code lines")
+ (description "This package provides a library for counting the lines of
+code in PHP source code.")
+ (home-page "https://github.com/sebastianbergmann/lines-of-code")
+ (license license:bsd-3)))
+
--
2.46.0
- [bug#67902] [PATCH v4 37/98] gnu: Add php-psr-event-dispatcher., (continued)
- [bug#67902] [PATCH v4 37/98] gnu: Add php-psr-event-dispatcher., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 38/98] gnu: Add php-psr-simple-cache., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 40/98] gnu: Add php-sebastian-code-unit., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 42/98] gnu: Add php-sebastian-comparator., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 43/98] gnu: Add php-sebastian-complexity., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 44/98] gnu: Add php-sebastian-diff., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 45/98] gnu: Add php-sebastian-environment., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 46/98] gnu: Add php-sebastian-exporter., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 47/98] gnu: Add php-sebastian-global-state., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 49/98] gnu: Add php-sebastian-object-enumerator., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 48/98] gnu: Add php-sebastian-lines-of-code.,
Nicolas Graves <=
- [bug#67902] [PATCH v4 52/98] gnu: Add php-sebastian-resource-operations., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 53/98] gnu: Add php-sebastian-type., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 50/98] gnu: Add php-sebastian-object-reflector., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 51/98] gnu: Add php-sebastian-recursion-context., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 57/98] gnu: Add php-symfony-cache-contracts., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 54/98] gnu: Add php-sebastian-version., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 56/98] gnu: Add php-cache-integration-tests., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 62/98] gnu: Add php-symfony-error-handler., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 64/98] gnu: Add php-symfony-event-dispatcher-contracts., Nicolas Graves, 2024/10/07
- [bug#67902] [PATCH v4 66/98] gnu: Add php-symfony-filesystem., Nicolas Graves, 2024/10/07