Skip to content

Commit

Permalink
Merge pull request #110 from wp-blocks/b8/as-module
Browse files Browse the repository at this point in the history
b8 as module
  • Loading branch information
erikyo authored Jan 26, 2024
2 parents fb010f3 + a20902c commit 4f17497
Show file tree
Hide file tree
Showing 15 changed files with 1,399 additions and 34 deletions.
4 changes: 2 additions & 2 deletions cf7-antispam.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Author: Codekraft
* Text Domain: cf7-antispam
* Domain Path: /languages/
* Version: 0.6.0
* Version: 0.6.2
*
* @package cf7-antispam
*/
Expand All @@ -18,7 +18,7 @@
/* CONSTANTS */
define( 'CF7ANTISPAM_NAME', 'cf7-antispam' );

define( 'CF7ANTISPAM_VERSION', '0.6.1' );
define( 'CF7ANTISPAM_VERSION', '0.6.2' );

define( 'CF7ANTISPAM_PLUGIN', __FILE__ );

Expand Down
18 changes: 1 addition & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
},
"require": {
"geoip2/geoip2": "~2.0",
"l3u/b8": "*",
"ext-json": "*",
"ext-openssl": "*"
},
Expand All @@ -40,21 +39,6 @@
},
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "package",
"package": {
"name": "l3u/b8",
"version": "1",
"type": "library",
"source": {
"url": "https://gitlab.com/l3u/b8.git",
"type": "git",
"reference": "master"
}
}
}
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
Expand All @@ -63,7 +47,7 @@
},
"autoload": {
"psr-4": {
"b8\\": "vendor/l3u/b8/b8/",
"b8\\": "core/b8/b8/",
"CF7_AntiSpam\\Core\\": "core/",
"CF7_AntiSpam\\Engine\\": "engine/",
"CF7_AntiSpam\\Admin\\": "admin/"
Expand Down
12 changes: 1 addition & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions core/b8/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# b8

## A statistical spam filter implemented in PHP

b8 is a statistical ("Bayesian") spam filter implemented in PHP. It is intended to keep your weblog or guestbook spam-free. The filter can be used anywhere in your PHP code and tells you whether a text is spam or not, using statistical text analysis.

## Homepage

The project's official homepage with further information is <https://nasauber.de/opensource/b8/>.
3 changes: 3 additions & 0 deletions core/b8/README.md.license
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2020-2022 Tobias Leupold <tl at stonemx dot de>

SPDX-License-Identifier: CC-BY-SA-4.0
Loading

0 comments on commit 4f17497

Please sign in to comment.